Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") [: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.001621/0.001626, allocations: 171.2 kB / 8.142 MB, free: 2.07 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.796/1.796, 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.001281/0.001281, allocations: 97.98 kB / 261.8 MB, free: 13.62 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.3279/0.3279, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.24e-05, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2886, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.4511, allocations: 86.75 MB / 0.5501 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4515, allocations: 83.39 kB / 0.5502 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02883/0.4803, allocations: 6.07 MB / 0.5561 GB, free: 6.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.057e-05/0.4805, allocations: 15.98 kB / 0.5561 GB, free: 6.152 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001079/0.4815, allocations: 0.587 MB / 0.5567 GB, free: 5.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4816, allocations: 8.031 kB / 0.5567 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4818, allocations: 47.34 kB / 0.5567 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4832, allocations: 479.1 kB / 0.5572 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4833, allocations: 7.984 kB / 0.5572 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4833, allocations: 4 kB / 0.5572 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001462/0.4835, allocations: 27.98 kB / 0.5572 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4837, allocations: 79.31 kB / 0.5573 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4837, allocations: 7.844 kB / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4837, allocations: 0 / 0.5573 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.4837, allocations: 3.984 kB / 0.5573 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.4844, allocations: 366.9 kB / 0.5577 GB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.4847, allocations: 89.34 kB / 0.5578 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.4848, allocations: 37.66 kB / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.4849, allocations: 0 / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.4851, allocations: 105.1 kB / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.4851, allocations: 0 / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005333/0.4857, allocations: 141 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4857, allocations: 81.02 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.488, allocations: 0.9045 MB / 0.559 GB, free: 2.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.4881, allocations: 25.7 kB / 0.559 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.4882, allocations: 154.6 kB / 0.5592 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.4883, allocations: 23.7 kB / 0.5592 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.4883, allocations: 0 / 0.5592 GB, free: 2.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4885, allocations: 322.8 kB / 0.5595 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.4886, allocations: 20 kB / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4888, allocations: 55.42 kB / 0.5596 GB, free: 2.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4889, allocations: 39.98 kB / 0.5596 GB, free: 2.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4889, allocations: 4 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003333/0.4893, allocations: 109.5 kB / 0.5597 GB, free: 2.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4893, allocations: 4 kB / 0.5597 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4893, allocations: 4 kB / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4893, allocations: 0 / 0.5597 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4896, allocations: 19.98 kB / 0.5597 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4896, allocations: 4 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.4897, allocations: 15.91 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.4898, allocations: 4 kB / 0.5598 GB, free: 2.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001009/0.4899, allocations: 46.89 kB / 0.5598 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.4901, allocations: 51.34 kB / 0.5599 GB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.4907, allocations: 169.7 kB / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4908, allocations: 4 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4908, allocations: 0 / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4908, allocations: 0 / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.4915, allocations: 365.8 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4915, allocations: 3.938 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4916, allocations: 8 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4916, allocations: 4 kB / 0.5604 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4917, allocations: 3.984 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4917, allocations: 4 kB / 0.5604 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4917, allocations: 4.156 kB / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000484/0.4922, allocations: 199 kB / 0.5606 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.4926, allocations: 192.3 kB / 0.5608 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.4928, allocations: 11.98 kB / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.493, allocations: 4 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.4931, allocations: 7.984 kB / 0.5608 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.4931, allocations: 4 kB / 0.5608 GB, free: 1.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00151/0.4946, allocations: 0.7175 MB / 0.5615 GB, free: 300 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.4952, allocations: 76 kB / 0.5616 GB, free: 224 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001008/0.4962, allocations: 311.3 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.4965, allocations: 79.86 kB / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4966, allocations: 0 / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4967, allocations: 43.92 kB / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.4974, allocations: 62.45 kB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4999, allocations: 0.8086 MB / 0.5628 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.501, allocations: 0.9005 MB / 0.5637 GB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5011, allocations: 0 / 0.5637 GB, free: 13.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01575/0.5168, allocations: 5.549 MB / 0.5691 GB, free: 8.438 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches