Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.002326/0.002326, allocations: 170.2 kB / 8.144 MB, free: 2.219 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.742/1.742, 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.001311/0.001311, allocations: 92.25 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.2642/0.2642, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.844e-06/7.945e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4903, allocations: 85.86 MB / 0.5492 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4906, allocations: 75.95 kB / 0.5493 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.027/0.5176, allocations: 5.777 MB / 0.5549 GB, free: 7.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5177, allocations: 0 / 0.5549 GB, free: 7.379 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006306/0.5184, allocations: 398.3 kB / 0.5553 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5184, allocations: 12.03 kB / 0.5553 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.5185, allocations: 3.906 kB / 0.5553 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.5188, allocations: 192.9 kB / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5188, allocations: 0 / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.5189, allocations: 0 / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.41e-05/0.519, allocations: 19.91 kB / 0.5555 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5191, allocations: 55.34 kB / 0.5556 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5191, allocations: 0 / 0.5556 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5192, allocations: 4 kB / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5192, allocations: 0 / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.5196, allocations: 249.4 kB / 0.5558 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5199, allocations: 29.72 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.5199, allocations: 16.94 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.5199, allocations: 0 / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.52, allocations: 34.56 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.52, allocations: 0 / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005317/0.5205, allocations: 97.33 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.5206, allocations: 81.11 kB / 0.5561 GB, free: 6.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.5208, allocations: 117 kB / 0.5562 GB, free: 5.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5208, allocations: 29.7 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.5209, allocations: 150.6 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.521, allocations: 15.73 kB / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.521, allocations: 0 / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5211, allocations: 318.8 kB / 0.5567 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.5212, allocations: 8 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.5212, allocations: 21.72 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.5213, allocations: 11.94 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5213, allocations: 3.906 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001454/0.5215, allocations: 53.69 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5215, allocations: 7.938 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5215, allocations: 4 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.5215, allocations: 0 / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.5217, allocations: 20.27 kB / 0.5568 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5217, allocations: 3.938 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.5218, allocations: 8 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.5218, allocations: 0 / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.541e-05/0.5219, allocations: 35.09 kB / 0.5568 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.5219, allocations: 7.906 kB / 0.5569 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.5222, allocations: 77.59 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5222, allocations: 0 / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5222, allocations: 0 / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5222, allocations: 0 / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.5227, allocations: 295.1 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5227, allocations: 4 kB / 0.5572 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5229, allocations: 15.92 kB / 0.5572 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5229, allocations: 8 kB / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.5229, allocations: 0 / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5229, allocations: 0 / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5229, allocations: 0 / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002019/0.5231, allocations: 155.5 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.5232, allocations: 89 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5232, allocations: 0 / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.5234, allocations: 8.141 kB / 0.5575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.5234, allocations: 11.97 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5235, allocations: 4 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001057/0.5236, allocations: 100.3 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.5239, allocations: 31.97 kB / 0.5576 GB, free: 4.324 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009354/0.5249, allocations: 335.8 kB / 0.5579 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.5251, allocations: 24 kB / 0.558 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5251, allocations: 3.938 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.5251, allocations: 16 kB / 0.558 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5255, allocations: 15.84 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.5259, allocations: 125.5 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.5263, allocations: 0.7153 MB / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5264, allocations: 0 / 0.5588 GB, free: 3.066 MB / 394.7 MB Notification: Performance of Templates: time 0.004925/0.5313, allocations: 1.594 MB / 0.5604 GB, free: 1.473 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches