Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") [: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.001684/0.001683, allocations: 171.5 kB / 8.146 MB, free: 2.211 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.716/1.716, 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.001291/0.00129, allocations: 88.14 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.2909/0.2909, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.23e-05/1.244e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.4909, allocations: 86.89 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4912, allocations: 71.95 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02316/0.5144, allocations: 4.988 MB / 0.5552 GB, free: 7.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5145, allocations: 7.938 kB / 0.5552 GB, free: 7.109 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.0005833/0.5151, allocations: 394.2 kB / 0.5556 GB, free: 6.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5151, allocations: 12.03 kB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.5152, allocations: 7.906 kB / 0.5556 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.5156, allocations: 213.6 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5157, allocations: 0 / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5157, allocations: 4 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.994e-05/0.5158, allocations: 15.98 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5159, allocations: 49.69 kB / 0.5558 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.516, allocations: 3.906 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.516, allocations: 8 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.516, allocations: 0 / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.5165, allocations: 273.4 kB / 0.5561 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.5166, allocations: 50.59 kB / 0.5562 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.5167, allocations: 16.98 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5167, allocations: 4 kB / 0.5562 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.5169, allocations: 63.34 kB / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.5169, allocations: 0 / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005449/0.5174, allocations: 133.2 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.5175, allocations: 59.34 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.5178, allocations: 158.3 kB / 0.5566 GB, free: 5.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5178, allocations: 33.69 kB / 0.5566 GB, free: 5.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.5179, allocations: 154.6 kB / 0.5568 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.5179, allocations: 19.72 kB / 0.5568 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.5179, allocations: 0 / 0.5568 GB, free: 5.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5181, allocations: 318.8 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.5181, allocations: 16 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.5182, allocations: 33.66 kB / 0.5571 GB, free: 4.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.5183, allocations: 19.98 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5183, allocations: 3.906 kB / 0.5572 GB, free: 4.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.5185, allocations: 81.69 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5186, allocations: 8 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5186, allocations: 0 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5186, allocations: 192 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5188, allocations: 23.92 kB / 0.5573 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5188, allocations: 8.094 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.832e-05/0.5189, allocations: 0 / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5189, allocations: 4 kB / 0.5573 GB, free: 4.762 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.306e-05/0.519, allocations: 35.05 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.519, allocations: 11.91 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.5194, allocations: 106.1 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5194, allocations: 3.906 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5194, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5194, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.52, allocations: 372 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.52, allocations: 4 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.5201, allocations: 16.03 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5201, allocations: 0 / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5201, allocations: 0 / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5201, allocations: 4 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5202, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002709/0.5204, allocations: 201.9 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.5205, allocations: 112.8 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.5206, allocations: 0 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5207, allocations: 4 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5208, allocations: 11.92 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5208, allocations: 4 kB / 0.5581 GB, free: 3.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001803/0.521, allocations: 140.1 kB / 0.5583 GB, free: 3.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000336/0.5213, allocations: 32 kB / 0.5583 GB, free: 3.625 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.0009773/0.5223, allocations: 355.1 kB / 0.5586 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.5225, allocations: 55.92 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5226, allocations: 0 / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.5227, allocations: 28 kB / 0.5587 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.5231, allocations: 27.97 kB / 0.5587 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.5237, allocations: 190.1 kB / 0.5589 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5241, allocations: 0.7231 MB / 0.5596 GB, free: 2.227 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5241, allocations: 0 / 0.5596 GB, free: 2.227 MB / 394.7 MB Notification: Performance of Templates: time 0.005217/0.5293, allocations: 1.947 MB / 0.5615 GB, free: 288 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches