Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") [: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.002517/0.002517, allocations: 179.7 kB / 8.146 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.793/1.793, 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.001309/0.001309, allocations: 91.47 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.3233/0.3233, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.176e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2907, allocations: 58.85 MB / 476.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4611, allocations: 87.17 MB / 0.5505 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4614, allocations: 71.97 kB / 0.5506 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03338/0.4948, allocations: 7.375 MB / 0.5578 GB, free: 4.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4949, allocations: 4 kB / 0.5578 GB, free: 4.473 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.0007183/0.4956, allocations: 414.1 kB / 0.5582 GB, free: 4.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.4957, allocations: 8.031 kB / 0.5582 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.4958, allocations: 7.906 kB / 0.5582 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4962, allocations: 214.9 kB / 0.5584 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4962, allocations: 0 / 0.5584 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4962, allocations: 0 / 0.5584 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/0.4964, allocations: 27.89 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4965, allocations: 63.34 kB / 0.5585 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4965, allocations: 4 kB / 0.5585 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.4966, allocations: 7.984 kB / 0.5585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4966, allocations: 0 / 0.5585 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.4971, allocations: 261.4 kB / 0.5587 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4972, allocations: 50.69 kB / 0.5588 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.4973, allocations: 16.98 kB / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4973, allocations: 0 / 0.5588 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.4975, allocations: 63.34 kB / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4975, allocations: 0 / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005635/0.4981, allocations: 125.4 kB / 0.559 GB, free: 3.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4981, allocations: 85.02 kB / 0.5591 GB, free: 2.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.4983, allocations: 140.4 kB / 0.5592 GB, free: 2.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4984, allocations: 25.7 kB / 0.5592 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.4985, allocations: 154.5 kB / 0.5594 GB, free: 2.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.4985, allocations: 23.66 kB / 0.5594 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.4985, allocations: 4 kB / 0.5594 GB, free: 2.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4987, allocations: 318.8 kB / 0.5597 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.4988, allocations: 19.94 kB / 0.5597 GB, free: 2.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.4989, allocations: 42.52 kB / 0.5598 GB, free: 2.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.499, allocations: 19.98 kB / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.499, allocations: 0 / 0.5598 GB, free: 2.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002311/0.4992, allocations: 89.52 kB / 0.5599 GB, free: 2.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4992, allocations: 12.06 kB / 0.5599 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4993, allocations: 0 / 0.5599 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4993, allocations: 0 / 0.5599 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.4994, allocations: 19.98 kB / 0.5599 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4995, allocations: 4 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.4995, allocations: 0 / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.4996, allocations: 4 kB / 0.5599 GB, free: 2.07 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.161e-05/0.4997, allocations: 35.09 kB / 0.5599 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4997, allocations: 11.81 kB / 0.56 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.5, allocations: 98.11 kB / 0.5601 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5, allocations: 4 kB / 0.5601 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5001, allocations: 0 / 0.5601 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5001, allocations: 0 / 0.5601 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.5007, allocations: 367.9 kB / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5007, allocations: 0 / 0.5604 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.5008, allocations: 8 kB / 0.5604 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5008, allocations: 4.031 kB / 0.5604 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.5008, allocations: 4 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5008, allocations: 80 / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.5008, allocations: 7.922 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002827/0.5011, allocations: 201.9 kB / 0.5606 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.5012, allocations: 89.19 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.5013, allocations: 12 kB / 0.5607 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5014, allocations: 8.281 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5015, allocations: 3.984 kB / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5015, allocations: 11.92 kB / 0.5607 GB, free: 1.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001388/0.5016, allocations: 115.3 kB / 0.5609 GB, free: 1.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.502, allocations: 47.8 kB / 0.5609 GB, free: 0.957 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.001154/0.5032, allocations: 384.4 kB / 0.5613 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.5034, allocations: 51.92 kB / 0.5613 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5034, allocations: 4.062 kB / 0.5613 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.5035, allocations: 31.94 kB / 0.5613 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.504, allocations: 24.3 kB / 0.5614 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.5045, allocations: 154.4 kB / 0.5615 GB, free: 324 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.505, allocations: 0.7271 MB / 0.5622 GB, free: 15.56 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.505, allocations: 4 kB / 0.5622 GB, free: 15.56 MB / 410.7 MB Notification: Performance of Templates: time 0.005945/0.511, allocations: 2.075 MB / 0.5643 GB, free: 13.48 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)