Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00255/0.00255, allocations: 175.2 kB / 8.147 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.755/1.755, 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.001778/0.001778, allocations: 91.88 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.2651/0.2651, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.144e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3333, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.497, allocations: 86.86 MB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4973, allocations: 75.25 kB / 0.5503 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02339/0.5207, allocations: 4.922 MB / 0.5551 GB, free: 7.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.5208, allocations: 7.938 kB / 0.5551 GB, free: 7.191 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.0005738/0.5214, allocations: 406 kB / 0.5555 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5214, allocations: 8.031 kB / 0.5555 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.5215, allocations: 15.81 kB / 0.5555 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.5219, allocations: 213 kB / 0.5557 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.522, allocations: 4 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.522, allocations: 0 / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/0.5221, allocations: 16 kB / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.5223, allocations: 53.58 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5223, allocations: 3.938 kB / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5223, allocations: 0 / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5223, allocations: 0 / 0.5558 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.5228, allocations: 273.4 kB / 0.556 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.523, allocations: 50.69 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.523, allocations: 20.97 kB / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.5231, allocations: 0 / 0.5561 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.5232, allocations: 67.34 kB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.5232, allocations: 0 / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005682/0.5238, allocations: 129.3 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.5239, allocations: 55.41 kB / 0.5563 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5242, allocations: 186.3 kB / 0.5565 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.5242, allocations: 25.7 kB / 0.5565 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.5243, allocations: 154.6 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5243, allocations: 19.66 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5243, allocations: 0 / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5245, allocations: 322.8 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.5246, allocations: 20 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.5247, allocations: 33.66 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.445e-05/0.5248, allocations: 20.17 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5248, allocations: 0 / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002553/0.525, allocations: 85.62 kB / 0.5572 GB, free: 4.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5251, allocations: 7.281 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5251, allocations: 7.938 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5251, allocations: 4 kB / 0.5572 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.5253, allocations: 19.92 kB / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5253, allocations: 0 / 0.5572 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.5254, allocations: 4 kB / 0.5572 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5254, allocations: 192 / 0.5572 GB, free: 4.801 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.708e-05/0.5255, allocations: 33.69 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.5256, allocations: 15.8 kB / 0.5573 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.5259, allocations: 111 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5259, allocations: 4 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5259, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5259, allocations: 0 / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.5265, allocations: 375.9 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5265, allocations: 0 / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.5266, allocations: 8 kB / 0.5577 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5267, allocations: 3.984 kB / 0.5577 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5267, allocations: 8.031 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5267, allocations: 0 / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5267, allocations: 80 / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002989/0.527, allocations: 213.8 kB / 0.5579 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.5271, allocations: 89.02 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.5272, allocations: 4 kB / 0.558 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5273, allocations: 7.984 kB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.5274, allocations: 7.906 kB / 0.5581 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5274, allocations: 11.92 kB / 0.5581 GB, free: 3.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002032/0.5276, allocations: 140.9 kB / 0.5582 GB, free: 3.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.528, allocations: 35.92 kB / 0.5582 GB, free: 3.656 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.001031/0.529, allocations: 343.3 kB / 0.5586 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.5292, allocations: 63.91 kB / 0.5586 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5293, allocations: 0 / 0.5586 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.5294, allocations: 28 kB / 0.5586 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.5298, allocations: 23.84 kB / 0.5587 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.5304, allocations: 194.3 kB / 0.5589 GB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.5309, allocations: 0.7309 MB / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5309, allocations: 0 / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of Templates: time 0.005713/0.5367, allocations: 1.984 MB / 0.5615 GB, free: 280 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches