Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") [: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.001619/0.001619, allocations: 182.6 kB / 8.152 MB, free: 2.207 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.74/1.74, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001269/0.001268, allocations: 95.52 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.2578/0.2578, allocations: 43.48 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.032e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.275, allocations: 58.85 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.4321, allocations: 86.73 MB / 0.5501 GB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4325, allocations: 71.95 kB / 0.5501 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02389/0.4564, allocations: 5.14 MB / 0.5552 GB, free: 7.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.4564, allocations: 3.984 kB / 0.5552 GB, free: 7.113 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.0005773/0.457, allocations: 410 kB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4571, allocations: 8.031 kB / 0.5556 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.4572, allocations: 15.81 kB / 0.5556 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.4576, allocations: 226.7 kB / 0.5558 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4577, allocations: 3.938 kB / 0.5558 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.4577, allocations: 4 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.779e-05/0.4578, allocations: 15.98 kB / 0.5558 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4579, allocations: 45.59 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4579, allocations: 0 / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.458, allocations: 0 / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.458, allocations: 4 kB / 0.5559 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.4582, allocations: 166.2 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4584, allocations: 46.62 kB / 0.5561 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.4584, allocations: 20.8 kB / 0.5561 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4585, allocations: 8 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.4586, allocations: 55.41 kB / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.754e-06/0.4586, allocations: 0 / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002477/0.4589, allocations: 73.58 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4589, allocations: 59.41 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.4593, allocations: 229.6 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4594, allocations: 25.7 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.4595, allocations: 150.6 kB / 0.5567 GB, free: 5.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.4595, allocations: 11.91 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.4595, allocations: 3.938 kB / 0.5567 GB, free: 5.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4597, allocations: 314.8 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.4597, allocations: 16 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.4598, allocations: 25.66 kB / 0.557 GB, free: 5.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.4599, allocations: 19.98 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4599, allocations: 3.906 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001775/0.4601, allocations: 61.81 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4601, allocations: 4 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4601, allocations: 4 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4601, allocations: 4 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4603, allocations: 15.97 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.4603, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.4604, allocations: 11.89 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.4604, allocations: 0 / 0.5571 GB, free: 4.883 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.731e-05/0.4605, allocations: 37.62 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.4606, allocations: 19.81 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4608, allocations: 78.77 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4608, allocations: 0 / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4609, allocations: 0 / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4609, allocations: 4 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4611, allocations: 190 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4611, allocations: 3.938 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.4612, allocations: 7.984 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4612, allocations: 0 / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4612, allocations: 0 / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4612, allocations: 0 / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4612, allocations: 4 kB / 0.5575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002101/0.4615, allocations: 100.9 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4616, allocations: 100.9 kB / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4616, allocations: 0 / 0.5577 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.4617, allocations: 7.984 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.4618, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4618, allocations: 3.906 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002777/0.4621, allocations: 188.2 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.4624, allocations: 20 kB / 0.5579 GB, free: 4.043 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.0008875/0.4633, allocations: 337.7 kB / 0.5582 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.4635, allocations: 36 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4635, allocations: 0 / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.4636, allocations: 19.94 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.464, allocations: 23.97 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.4647, allocations: 221.5 kB / 0.5585 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.4652, allocations: 0.7383 MB / 0.5592 GB, free: 2.652 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4652, allocations: 0 / 0.5592 GB, free: 2.652 MB / 394.7 MB Notification: Performance of Templates: time 0.005601/0.4708, allocations: 1.934 MB / 0.5611 GB, free: 0.7188 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches