Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") [: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.001761/0.001761, allocations: 183 kB / 8.153 MB, free: 2.203 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.782/1.782, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001268/0.001268, allocations: 91.7 kB / 261.8 MB, free: 13.61 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.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.088e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.27, allocations: 58.85 MB / 476.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.4726, allocations: 86.73 MB / 0.5501 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4729, allocations: 71.97 kB / 0.5501 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02364/0.4966, allocations: 4.842 MB / 0.5549 GB, free: 7.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4967, allocations: 0 / 0.5549 GB, free: 7.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006053/0.4973, allocations: 394.1 kB / 0.5553 GB, free: 6.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4973, allocations: 12.03 kB / 0.5553 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.4974, allocations: 7.906 kB / 0.5553 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.4978, allocations: 221.6 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4979, allocations: 0 / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4979, allocations: 0 / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.935e-05/0.498, allocations: 15.94 kB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.4981, allocations: 49.67 kB / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4981, allocations: 0 / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4982, allocations: 0 / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4982, allocations: 4 kB / 0.5555 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.4984, allocations: 162.2 kB / 0.5557 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.4986, allocations: 46.62 kB / 0.5557 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.4987, allocations: 16.86 kB / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4987, allocations: 0 / 0.5558 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.4988, allocations: 67.42 kB / 0.5558 GB, free: 6.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.4989, allocations: 3.938 kB / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002641/0.4991, allocations: 69.5 kB / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4992, allocations: 55.41 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4994, allocations: 158.3 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4995, allocations: 25.7 kB / 0.5561 GB, free: 5.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.4995, allocations: 150.6 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.4996, allocations: 23.77 kB / 0.5563 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.4996, allocations: 4 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4997, allocations: 314.8 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.4998, allocations: 12 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.4999, allocations: 25.72 kB / 0.5566 GB, free: 5.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.5, allocations: 19.92 kB / 0.5567 GB, free: 5.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5, allocations: 0 / 0.5567 GB, free: 5.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001777/0.5002, allocations: 61.69 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5002, allocations: 10.81 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5002, allocations: 4.031 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5002, allocations: 0 / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5004, allocations: 11.98 kB / 0.5567 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5004, allocations: 4 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.5005, allocations: 3.906 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.5005, allocations: 7.938 kB / 0.5568 GB, free: 5.289 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 (7): * Single equations (assignments): 7 * 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.571e-05/0.5006, allocations: 29.7 kB / 0.5568 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.5006, allocations: 11.91 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5009, allocations: 85.89 kB / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5009, allocations: 0 / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5009, allocations: 0 / 0.5569 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.501, allocations: 7.984 kB / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.5012, allocations: 158.2 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5012, allocations: 0 / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.5012, allocations: 8 kB / 0.557 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.5013, allocations: 3.984 kB / 0.557 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.5013, allocations: 3.906 kB / 0.557 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5013, allocations: 3.938 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5013, allocations: 4 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001999/0.5015, allocations: 93.03 kB / 0.5571 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.5016, allocations: 92.91 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.5017, allocations: 4 kB / 0.5572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.5017, allocations: 4 kB / 0.5572 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.5018, allocations: 7.984 kB / 0.5572 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5018, allocations: 0 / 0.5572 GB, free: 4.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002127/0.502, allocations: 148.1 kB / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.5023, allocations: 23.88 kB / 0.5574 GB, free: 4.527 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: 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 (6): * Single equations (assignments): 4 * 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.0008855/0.5032, allocations: 321.4 kB / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.5034, allocations: 36 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5034, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.812e-05/0.5035, allocations: 19.98 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5039, allocations: 31.81 kB / 0.5578 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.5044, allocations: 161.2 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.5049, allocations: 0.727 MB / 0.5587 GB, free: 3.211 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5049, allocations: 0 / 0.5587 GB, free: 3.211 MB / 394.7 MB Notification: Performance of Templates: time 0.005089/0.51, allocations: 1.712 MB / 0.5603 GB, free: 1.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches