Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2767, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002978/0.2798, allocations: 2.116 MB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2817, allocations: 1.362 MB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2819, allocations: 4.125 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.2819, allocations: 31.66 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2821, allocations: 34.39 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2826, allocations: 198 kB / 0.5353 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.2829, allocations: 177 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.2831, allocations: 100.5 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2832, allocations: 88.92 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2834, allocations: 95.98 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.2834, allocations: 15.97 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.2837, allocations: 153.6 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.2838, allocations: 43.84 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.2839, allocations: 95.95 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.2843, allocations: 325.1 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2843, allocations: 0 / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2843, allocations: 0 / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.2843, allocations: 1.125 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006057/0.285, allocations: 0.5232 MB / 0.5369 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.285, allocations: 9.219 kB / 0.5369 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000969/0.286, allocations: 79.39 kB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2862, allocations: 218.2 kB / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2862, allocations: 19.53 kB / 0.5372 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.2863, allocations: 24.94 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.2866, allocations: 202.7 kB / 0.5374 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2867, allocations: 3.984 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.2867, allocations: 10.62 kB / 0.5374 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2867, allocations: 7.031 kB / 0.5374 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.287, allocations: 150.5 kB / 0.5376 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.2878, allocations: 0.5802 MB / 0.5381 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.2883, allocations: 244.7 kB / 0.5384 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2885, allocations: 66.08 kB / 0.5384 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2885, allocations: 7.484 kB / 0.5384 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2885, allocations: 35.95 kB / 0.5385 GB, free: 8.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.396e-06/0.2885, allocations: 4 kB / 0.5385 GB, free: 8.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004253/0.289, allocations: 215 kB / 0.5387 GB, free: 8.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.289, allocations: 54.31 kB / 0.5387 GB, free: 8.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/0.2891, allocations: 105.1 kB / 0.5388 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2891, allocations: 31.08 kB / 0.5389 GB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2892, allocations: 137.7 kB / 0.539 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.2893, allocations: 92.52 kB / 0.5391 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.2893, allocations: 39.84 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2895, allocations: 329.6 kB / 0.5394 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.2896, allocations: 40.81 kB / 0.5395 GB, free: 7.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.2897, allocations: 49.45 kB / 0.5395 GB, free: 7.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.2899, allocations: 116.2 kB / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2899, allocations: 0 / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000263/0.2901, allocations: 167.7 kB / 0.5398 GB, free: 7.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2902, allocations: 5.594 kB / 0.5398 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.2902, allocations: 4 kB / 0.5398 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2902, allocations: 1.594 kB / 0.5398 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.2906, allocations: 104 kB / 0.5399 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2906, allocations: 0 / 0.5399 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.2907, allocations: 16.31 kB / 0.5399 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2907, allocations: 4.688 kB / 0.5399 GB, free: 7.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.786e-05/0.2908, allocations: 137.2 kB / 0.5401 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.2908, allocations: 13.47 kB / 0.5401 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.2909, allocations: 25.53 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2909, allocations: 3.219 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2909, allocations: 1.469 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2909, allocations: 0 / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.2912, allocations: 267.1 kB / 0.5404 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2912, allocations: 4.188 kB / 0.5404 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.2916, allocations: 107.1 kB / 0.5405 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2916, allocations: 2.219 kB / 0.5405 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2916, allocations: 5 kB / 0.5405 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2916, allocations: 1.188 kB / 0.5405 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2916, allocations: 0 / 0.5405 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.2919, allocations: 277.7 kB / 0.5407 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.292, allocations: 93.61 kB / 0.5408 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.292, allocations: 5.156 kB / 0.5408 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.2921, allocations: 10.5 kB / 0.5408 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2922, allocations: 15.94 kB / 0.5409 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2922, allocations: 7.781 kB / 0.5409 GB, free: 6.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.2923, allocations: 84.88 kB / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2923, allocations: 0 / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.2925, allocations: 51.25 kB / 0.541 GB, free: 6.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.967e-05/0.2926, allocations: 98.72 kB / 0.5411 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.2929, allocations: 132.4 kB / 0.5412 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2929, allocations: 0 / 0.5412 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2931, allocations: 85.27 kB / 0.5413 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2933, allocations: 17.69 kB / 0.5413 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.294, allocations: 492 kB / 0.5418 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2943, allocations: 0.7362 MB / 0.5425 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.2944, allocations: 17.22 kB / 0.5425 GB, free: 5.043 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2944, allocations: 0 / 0.5425 GB, free: 5.043 MB / 398.1 MB Notification: Performance of Templates: time 0.003397/0.2978, allocations: 1.774 MB / 0.5442 GB, free: 4.109 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches