Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") [: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.002505/0.002504, allocations: 170.3 kB / 8.149 MB, free: 2.223 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.76/1.76, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001283/0.001283, allocations: 96.88 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.2861/0.2861, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.731e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.331, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4872, allocations: 86.85 MB / 0.5502 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4875, allocations: 79.23 kB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02374/0.5113, allocations: 4.781 MB / 0.5549 GB, free: 7.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.5114, allocations: 7.938 kB / 0.5549 GB, free: 7.359 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005758/0.512, allocations: 390.1 kB / 0.5553 GB, free: 6.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.512, allocations: 8.031 kB / 0.5553 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.5121, allocations: 7.906 kB / 0.5553 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.5126, allocations: 207.4 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5126, allocations: 7.906 kB / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.5127, allocations: 0 / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.5128, allocations: 23.94 kB / 0.5556 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.5129, allocations: 49.67 kB / 0.5556 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5129, allocations: 4 kB / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.513, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.513, allocations: 0 / 0.5556 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5135, allocations: 265.4 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.5136, allocations: 46.69 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.5137, allocations: 24.92 kB / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.5137, allocations: 0 / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.5139, allocations: 63.39 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.5139, allocations: 0 / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005953/0.5145, allocations: 125.3 kB / 0.5561 GB, free: 6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5145, allocations: 55.34 kB / 0.5562 GB, free: 5.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.5148, allocations: 151.4 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.5148, allocations: 29.69 kB / 0.5563 GB, free: 5.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.5149, allocations: 158.5 kB / 0.5565 GB, free: 5.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.5149, allocations: 19.72 kB / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.5149, allocations: 0 / 0.5565 GB, free: 5.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5151, allocations: 314.8 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.5152, allocations: 20 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.5153, allocations: 29.72 kB / 0.5569 GB, free: 5.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.5154, allocations: 27.97 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5154, allocations: 4 kB / 0.5569 GB, free: 5.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.5156, allocations: 85.72 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5156, allocations: 7.438 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5157, allocations: 3.938 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5157, allocations: 0 / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.5159, allocations: 19.98 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5159, allocations: 0 / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.5159, allocations: 0 / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.516, allocations: 4 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.083e-05/0.5161, allocations: 43.75 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.5161, allocations: 11.84 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.5165, allocations: 98.16 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5165, allocations: 0 / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5165, allocations: 192 / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.5165, allocations: 4 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.5171, allocations: 363.9 kB / 0.5575 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5171, allocations: 4.031 kB / 0.5575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.5172, allocations: 15.98 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.5172, allocations: 3.906 kB / 0.5575 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5172, allocations: 3.938 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.5173, allocations: 4 kB / 0.5575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5173, allocations: 0 / 0.5575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000281/0.5176, allocations: 205.9 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.5176, allocations: 89 kB / 0.5578 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5177, allocations: 7.938 kB / 0.5578 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5178, allocations: 3.984 kB / 0.5578 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.5179, allocations: 4 kB / 0.5578 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.5179, allocations: 15.92 kB / 0.5578 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001792/0.5181, allocations: 120.5 kB / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.5185, allocations: 35.84 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009658/0.5194, allocations: 343.3 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5197, allocations: 59.92 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5197, allocations: 0 / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.5198, allocations: 32 kB / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5202, allocations: 19.84 kB / 0.5584 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.5207, allocations: 162.4 kB / 0.5586 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5212, allocations: 0.7227 MB / 0.5593 GB, free: 2.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5212, allocations: 0 / 0.5593 GB, free: 2.57 MB / 394.7 MB Notification: Performance of Templates: time 0.005457/0.5267, allocations: 1.889 MB / 0.5611 GB, free: 0.6836 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches