Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009018/0.0009019, allocations: 188.7 kB / 7.802 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007736/0.0007736, allocations: 97.61 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1549/0.1549, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.133e-06, allocations: 4 kB / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09808/0.3228, allocations: 86.86 MB / 0.5502 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.323, allocations: 71.97 kB / 0.5503 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.013/0.336, allocations: 4.93 MB / 0.5551 GB, free: 7.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.336, allocations: 11.94 kB / 0.5551 GB, free: 7.133 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.0003663/0.3364, allocations: 390 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3365, allocations: 12.03 kB / 0.5555 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.3365, allocations: 11.81 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3368, allocations: 215.6 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3368, allocations: 4 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3368, allocations: 0 / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.889e-05/0.3369, allocations: 23.98 kB / 0.5557 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.337, allocations: 53.58 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.337, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.337, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.337, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.3373, allocations: 273.4 kB / 0.556 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.3375, allocations: 54.69 kB / 0.5561 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.3375, allocations: 16.98 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3375, allocations: 0 / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.924e-05/0.3376, allocations: 67.33 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3376, allocations: 0 / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003449/0.3379, allocations: 133.3 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.338, allocations: 59.34 kB / 0.5564 GB, free: 5.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3382, allocations: 178.3 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3382, allocations: 25.7 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.3382, allocations: 92.12 kB / 0.5566 GB, free: 5.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3382, allocations: 27.64 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.3383, allocations: 0 / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3384, allocations: 322.8 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.3384, allocations: 20 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.3385, allocations: 33.66 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.3385, allocations: 23.98 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3385, allocations: 0 / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.3387, allocations: 89.5 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.3387, allocations: 4 kB / 0.5571 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3387, allocations: 192 / 0.5571 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3387, allocations: 4 kB / 0.5571 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.3388, allocations: 27.89 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3388, allocations: 160 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3389, allocations: 4 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3389, allocations: 11.98 kB / 0.5572 GB, free: 4.781 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 5.87e-05/0.3389, allocations: 108.4 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.339, allocations: 19.8 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.3391, allocations: 99.02 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3392, allocations: 0 / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3392, allocations: 4 kB / 0.5574 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3392, allocations: 4.172 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.3395, allocations: 375.8 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3395, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.3396, allocations: 11.98 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3396, allocations: 0 / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3396, allocations: 7.906 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3396, allocations: 0 / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3396, allocations: 0 / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001747/0.3398, allocations: 213.9 kB / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.3399, allocations: 85.02 kB / 0.5581 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3399, allocations: 11.89 kB / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.34, allocations: 0 / 0.5581 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.34, allocations: 15.94 kB / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.34, allocations: 7.984 kB / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001088/0.3401, allocations: 140.9 kB / 0.5582 GB, free: 3.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.3404, allocations: 31.92 kB / 0.5583 GB, free: 3.574 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.0006299/0.341, allocations: 355.9 kB / 0.5586 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3412, allocations: 55.91 kB / 0.5587 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3412, allocations: 0 / 0.5587 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.3412, allocations: 28 kB / 0.5587 GB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3415, allocations: 23.84 kB / 0.5587 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3418, allocations: 164.5 kB / 0.5589 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.3421, allocations: 0.7349 MB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3421, allocations: 0 / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of Templates: time 0.00366/0.3458, allocations: 1.646 MB / 0.5612 GB, free: 0.5625 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches