Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002324/0.002324, allocations: 178.8 kB / 8.149 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001652/0.001651, allocations: 87.41 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.267/0.267, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/1.009e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.4289, allocations: 88.34 MB / 0.5516 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4292, allocations: 67.45 kB / 0.5517 GB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02619/0.4554, allocations: 5.715 MB / 0.5573 GB, free: 4.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4555, allocations: 7.938 kB / 0.5573 GB, free: 4.832 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.0007547/0.4563, allocations: 490.3 kB / 0.5578 GB, free: 4.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4563, allocations: 12.03 kB / 0.5578 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.4576, allocations: 67.66 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4579, allocations: 190.7 kB / 0.558 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4579, allocations: 8 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.458, allocations: 16 kB / 0.558 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004148/0.4584, allocations: 117.3 kB / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.4589, allocations: 148.9 kB / 0.5583 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4589, allocations: 0 / 0.5583 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.4589, allocations: 4 kB / 0.5583 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4589, allocations: 4 kB / 0.5583 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.4603, allocations: 0.5377 MB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.4611, allocations: 211.4 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4613, allocations: 53.33 kB / 0.5591 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.4614, allocations: 8.234 kB / 0.5591 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4614, allocations: 38.78 kB / 0.5591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.525e-06/0.4614, allocations: 0 / 0.5591 GB, free: 2.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004413/0.4619, allocations: 144 kB / 0.5593 GB, free: 2.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4619, allocations: 51.41 kB / 0.5593 GB, free: 2.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.462, allocations: 93 kB / 0.5594 GB, free: 2.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.4621, allocations: 25.7 kB / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4622, allocations: 210.7 kB / 0.5596 GB, free: 2.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.4623, allocations: 78.75 kB / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.4623, allocations: 0 / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4625, allocations: 326.7 kB / 0.56 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4626, allocations: 32 kB / 0.56 GB, free: 1.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.4627, allocations: 35.94 kB / 0.5601 GB, free: 1.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4628, allocations: 35.27 kB / 0.5601 GB, free: 1.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4629, allocations: 0 / 0.5601 GB, free: 1.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003472/0.4632, allocations: 138.3 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4632, allocations: 7.984 kB / 0.5602 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4633, allocations: 4 kB / 0.5602 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4633, allocations: 0 / 0.5602 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.4641, allocations: 95.89 kB / 0.5603 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4641, allocations: 4 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.4642, allocations: 19.83 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4643, allocations: 8 kB / 0.5604 GB, free: 1.48 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.9e-05/0.4644, allocations: 29.61 kB / 0.5604 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4644, allocations: 11.91 kB / 0.5604 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.4645, allocations: 17.31 kB / 0.5604 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4645, allocations: 8.188 kB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4646, allocations: 3.938 kB / 0.5604 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.4646, allocations: 7.906 kB / 0.5604 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.465, allocations: 218 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.465, allocations: 4 kB / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.4657, allocations: 99.94 kB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4658, allocations: 4 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4658, allocations: 0 / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4658, allocations: 0 / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4658, allocations: 0 / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004038/0.4662, allocations: 255.5 kB / 0.561 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.4663, allocations: 96.94 kB / 0.5611 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.4664, allocations: 3.906 kB / 0.5611 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.4665, allocations: 0 / 0.5611 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.4666, allocations: 11.98 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.4666, allocations: 8 kB / 0.5611 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.485e-05/0.4667, allocations: 83.27 kB / 0.5612 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.4671, allocations: 47.78 kB / 0.5612 GB, free: 0.5117 MB / 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.0001519/0.4672, allocations: 95.19 kB / 0.5613 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.4676, allocations: 99.94 kB / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4676, allocations: 0 / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4677, allocations: 71.92 kB / 0.5615 GB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.468, allocations: 3.906 kB / 0.5615 GB, free: 244 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.4688, allocations: 241.7 kB / 0.5617 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.4693, allocations: 0.7589 MB / 0.5625 GB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.4693, allocations: 0 / 0.5625 GB, free: 15.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004783/0.4741, allocations: 1.705 MB / 0.5641 GB, free: 13.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches