Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") [: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.002226/0.002226, allocations: 172.7 kB / 8.145 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.745/1.745, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001312/0.001311, allocations: 85.2 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.2902/0.2902, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.393e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.4798, allocations: 86.85 MB / 0.5502 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4801, allocations: 75.95 kB / 0.5503 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02814/0.5083, allocations: 4.925 MB / 0.5551 GB, free: 7.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.5083, allocations: 0 / 0.5551 GB, free: 7.215 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.0006885/0.509, allocations: 406 kB / 0.5555 GB, free: 6.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5091, allocations: 8.031 kB / 0.5555 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.5092, allocations: 19.81 kB / 0.5555 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.5097, allocations: 213 kB / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.5098, allocations: 0 / 0.5557 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.5098, allocations: 4 kB / 0.5557 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/0.51, allocations: 12 kB / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.5101, allocations: 57.52 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5102, allocations: 4 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.5102, allocations: 4 kB / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5102, allocations: 0 / 0.5558 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.5108, allocations: 273.4 kB / 0.556 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.511, allocations: 42.7 kB / 0.5561 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.5111, allocations: 20.97 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.5111, allocations: 4 kB / 0.5561 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.5113, allocations: 67.34 kB / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.5113, allocations: 3.938 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006975/0.5121, allocations: 129.3 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.5121, allocations: 51.41 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.5125, allocations: 182.3 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.5126, allocations: 29.7 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.5127, allocations: 154.6 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.5127, allocations: 19.66 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.5127, allocations: 0 / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5129, allocations: 322.8 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.513, allocations: 23.94 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.5132, allocations: 29.72 kB / 0.5571 GB, free: 4.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.893e-05/0.5133, allocations: 15.98 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5133, allocations: 4 kB / 0.5571 GB, free: 4.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003366/0.5136, allocations: 77.69 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5137, allocations: 8 kB / 0.5572 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5137, allocations: 11.88 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5137, allocations: 4.172 kB / 0.5572 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.514, allocations: 15.98 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.514, allocations: 7.938 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.5141, allocations: 0 / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.5141, allocations: 4.156 kB / 0.5572 GB, free: 4.816 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 7.913e-05/0.5142, allocations: 33.69 kB / 0.5572 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.5143, allocations: 11.81 kB / 0.5573 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.5147, allocations: 111 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5147, allocations: 0 / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5148, allocations: 0 / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5148, allocations: 3.984 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000783/0.5156, allocations: 372 kB / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.5156, allocations: 4 kB / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5157, allocations: 15.98 kB / 0.5577 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5157, allocations: 0 / 0.5577 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5158, allocations: 4.031 kB / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5158, allocations: 0 / 0.5577 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5158, allocations: 4 kB / 0.5578 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003882/0.5162, allocations: 205.8 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.5163, allocations: 93.02 kB / 0.558 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.5164, allocations: 7.922 kB / 0.558 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.5167, allocations: 8 kB / 0.5581 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.5167, allocations: 7.906 kB / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.5168, allocations: 3.984 kB / 0.5581 GB, free: 3.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002654/0.517, allocations: 148.9 kB / 0.5582 GB, free: 3.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.5177, allocations: 27.94 kB / 0.5582 GB, free: 3.68 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.001402/0.5191, allocations: 354.2 kB / 0.5586 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5194, allocations: 59.91 kB / 0.5586 GB, free: 3.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5194, allocations: 4 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.5195, allocations: 24 kB / 0.5587 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.5201, allocations: 23.84 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.5208, allocations: 198.3 kB / 0.5589 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.5214, allocations: 0.7348 MB / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5214, allocations: 0 / 0.5596 GB, free: 2.266 MB / 394.7 MB Notification: Performance of Templates: time 0.006935/0.5284, allocations: 1.972 MB / 0.5615 GB, free: 304 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches