Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") [: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.002149/0.002149, allocations: 172.3 kB / 8.148 MB, free: 2.133 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.762/1.762, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.00127/0.00127, allocations: 93.58 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.2701/0.2701, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.188e-05/1.206e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 58.85 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.4751, allocations: 86.88 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4754, allocations: 71.97 kB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02341/0.4989, allocations: 5.191 MB / 0.5554 GB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4989, allocations: 0 / 0.5554 GB, free: 6.941 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.0005927/0.4995, allocations: 406 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4996, allocations: 16.03 kB / 0.5558 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.4997, allocations: 15.75 kB / 0.5558 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.5001, allocations: 214.8 kB / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5001, allocations: 0 / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.5002, allocations: 4 kB / 0.556 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.451e-05/0.5003, allocations: 19.92 kB / 0.556 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.5004, allocations: 53.67 kB / 0.5561 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5004, allocations: 0 / 0.5561 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5005, allocations: 4 kB / 0.5561 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5005, allocations: 0 / 0.5561 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.501, allocations: 277.4 kB / 0.5563 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.5011, allocations: 50.62 kB / 0.5564 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.5012, allocations: 20.97 kB / 0.5564 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5012, allocations: 3.938 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.5014, allocations: 63.41 kB / 0.5565 GB, free: 5.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5014, allocations: 0 / 0.5565 GB, free: 5.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005465/0.5019, allocations: 137.1 kB / 0.5566 GB, free: 5.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.502, allocations: 55.41 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.5023, allocations: 197.9 kB / 0.5568 GB, free: 5.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.5024, allocations: 29.7 kB / 0.5569 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.5024, allocations: 154.5 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.5025, allocations: 27.64 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.5025, allocations: 4 kB / 0.557 GB, free: 5.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5027, allocations: 310.8 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.5028, allocations: 20 kB / 0.5574 GB, free: 4.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.5028, allocations: 33.7 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.906e-05/0.5029, allocations: 16 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5029, allocations: 0 / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.5032, allocations: 89.59 kB / 0.5575 GB, free: 4.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5032, allocations: 15.31 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5032, allocations: 0 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5032, allocations: 3.906 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.5034, allocations: 15.98 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5034, allocations: 4 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.5035, allocations: 0 / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.5035, allocations: 8 kB / 0.5575 GB, free: 4.512 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 6.014e-05/0.5036, allocations: 33.16 kB / 0.5576 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.5036, allocations: 15.81 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.5039, allocations: 107.4 kB / 0.5577 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.504, allocations: 4 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.504, allocations: 4 kB / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.504, allocations: 0 / 0.5577 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.5046, allocations: 383.8 kB / 0.5581 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5046, allocations: 0 / 0.5581 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-05/0.5047, allocations: 15.92 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5047, allocations: 4.031 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5048, allocations: 4 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5048, allocations: 3.906 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5048, allocations: 0 / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002841/0.5051, allocations: 210 kB / 0.5583 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.5052, allocations: 100.9 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.5052, allocations: 7.984 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.5054, allocations: 4 kB / 0.5584 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.5054, allocations: 4 kB / 0.5584 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5055, allocations: 3.984 kB / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000222/0.5057, allocations: 159.2 kB / 0.5585 GB, free: 3.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.506, allocations: 31.94 kB / 0.5586 GB, free: 3.34 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.000989/0.507, allocations: 350.3 kB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.5072, allocations: 55.94 kB / 0.559 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5072, allocations: 0 / 0.559 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.5073, allocations: 31.94 kB / 0.559 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.5078, allocations: 28.02 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.5084, allocations: 214.6 kB / 0.5592 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.5089, allocations: 0.7348 MB / 0.5599 GB, free: 1.906 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5089, allocations: 0 / 0.5599 GB, free: 1.906 MB / 394.7 MB Notification: Performance of Templates: time 0.005702/0.5146, allocations: 2.05 MB / 0.5619 GB, free: 15.86 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches