Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009304/0.0009305, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 92.39 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1649/0.1649, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3538, allocations: 88.34 MB / 0.5517 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.354, allocations: 63.97 kB / 0.5517 GB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01515/0.3692, allocations: 5.727 MB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.3692, allocations: 4 kB / 0.5573 GB, free: 4.684 MB / 394.7 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.000435/0.3696, allocations: 474.4 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3697, allocations: 12.03 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.3705, allocations: 63.66 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3706, allocations: 198.7 kB / 0.558 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3706, allocations: 8 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3706, allocations: 16 kB / 0.558 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000209/0.3708, allocations: 117.3 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3711, allocations: 152.8 kB / 0.5583 GB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3711, allocations: 3.984 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3711, allocations: 0 / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3711, allocations: 8 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.3719, allocations: 0.5416 MB / 0.5588 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.3723, allocations: 199.5 kB / 0.559 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.3724, allocations: 57.31 kB / 0.5591 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3724, allocations: 4.234 kB / 0.5591 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3724, allocations: 34.8 kB / 0.5591 GB, free: 2.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.3725, allocations: 7.938 kB / 0.5591 GB, free: 2.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.000268/0.3727, allocations: 148 kB / 0.5593 GB, free: 2.516 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.3728, allocations: 55.41 kB / 0.5593 GB, free: 2.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.3728, allocations: 89 kB / 0.5594 GB, free: 2.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3728, allocations: 25.7 kB / 0.5594 GB, free: 2.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3729, allocations: 136.2 kB / 0.5596 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.373, allocations: 82.75 kB / 0.5596 GB, free: 2.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.373, allocations: 0 / 0.5596 GB, free: 2.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.3731, allocations: 330.7 kB / 0.56 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.3731, allocations: 32 kB / 0.56 GB, free: 1.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.3732, allocations: 32 kB / 0.56 GB, free: 1.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.3733, allocations: 43.14 kB / 0.5601 GB, free: 1.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3733, allocations: 0 / 0.5601 GB, free: 1.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001859/0.3735, allocations: 130.3 kB / 0.5602 GB, free: 1.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3735, allocations: 10.81 kB / 0.5602 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3735, allocations: 0 / 0.5602 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3735, allocations: 0 / 0.5602 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3739, allocations: 107.9 kB / 0.5603 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3739, allocations: 7.906 kB / 0.5603 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.374, allocations: 11.84 kB / 0.5603 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.374, allocations: 4 kB / 0.5603 GB, free: 1.402 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.3741, allocations: 104.9 kB / 0.5604 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3741, allocations: 15.91 kB / 0.5604 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.3742, allocations: 25.22 kB / 0.5605 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3742, allocations: 4 kB / 0.5605 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3742, allocations: 3.984 kB / 0.5605 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3742, allocations: 0 / 0.5605 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3744, allocations: 214 kB / 0.5607 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3744, allocations: 0 / 0.5607 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.3747, allocations: 103.9 kB / 0.5608 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3748, allocations: 0 / 0.5608 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3748, allocations: 4 kB / 0.5608 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3748, allocations: 0 / 0.5608 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.3748, allocations: 3.906 kB / 0.5608 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002256/0.375, allocations: 243.6 kB / 0.561 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.3751, allocations: 92.86 kB / 0.5611 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3751, allocations: 8 kB / 0.5611 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.3752, allocations: 0 / 0.5611 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3752, allocations: 19.97 kB / 0.5611 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3753, allocations: 4 kB / 0.5611 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.46e-05/0.3753, allocations: 91.47 kB / 0.5612 GB, free: 416 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.3756, allocations: 43.75 kB / 0.5613 GB, free: 372 kB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.3757, allocations: 95.12 kB / 0.5614 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.3758, allocations: 111.9 kB / 0.5615 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3758, allocations: 0 / 0.5615 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.3759, allocations: 63.94 kB / 0.5615 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3761, allocations: 4 kB / 0.5615 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3765, allocations: 220 kB / 0.5617 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.3769, allocations: 0.755 MB / 0.5625 GB, free: 15.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3769, allocations: 0 / 0.5625 GB, free: 15.06 MB / 410.7 MB Notification: Performance of Templates: time 0.003254/0.3802, allocations: 1.209 MB / 0.5637 GB, free: 13.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches