Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003054/0.003054, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.152/1.152, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001652/0.001652, allocations: 120.4 kB / 217.7 MB, free: 8.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.151/0.151, allocations: 37.99 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.182e-05, allocations: 2.688 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09861, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3079/0.4066, allocations: 75.79 MB / 474 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4069, allocations: 72.22 kB / 474.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008021/0.4149, allocations: 2.874 MB / 476.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.415, allocations: 0 / 476.9 MB, free: 13.35 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003929/0.4154, allocations: 470.9 kB / 477.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4154, allocations: 7.75 kB / 477.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.4155, allocations: 19.5 kB / 477.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4158, allocations: 199.8 kB / 477.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4158, allocations: 0 / 477.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.4158, allocations: 3.719 kB / 477.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.38e-05/0.4159, allocations: 37.84 kB / 477.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.416, allocations: 57.23 kB / 477.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.416, allocations: 0 / 477.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4161, allocations: 0 / 477.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4161, allocations: 3.781 kB / 477.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.4165, allocations: 331.8 kB / 478.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.4167, allocations: 61.11 kB / 478.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.4167, allocations: 33.42 kB / 478.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.4168, allocations: 3.781 kB / 478.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.244e-05/0.4168, allocations: 61.83 kB / 478.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4169, allocations: 0 / 478.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001726/0.417, allocations: 80.14 kB / 478.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.4171, allocations: 51.41 kB / 478.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4172, allocations: 148 kB / 478.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4172, allocations: 33.64 kB / 478.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.4172, allocations: 98.11 kB / 478.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.4173, allocations: 26.11 kB / 478.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.4173, allocations: 0 / 478.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.4173, allocations: 324.3 kB / 479 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.4174, allocations: 21.91 kB / 479 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.4174, allocations: 39.36 kB / 479 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.4175, allocations: 29.67 kB / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4175, allocations: 3.812 kB / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001532/0.4177, allocations: 107.5 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4177, allocations: 7.562 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4177, allocations: 3.906 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4177, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.4178, allocations: 18.72 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.4178, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.4179, allocations: 14.19 kB / 479.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.4179, allocations: 6.812 kB / 479.2 MB, free: 11.58 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.394e-05/0.418, allocations: 108.7 kB / 479.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.418, allocations: 7.688 kB / 479.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.4181, allocations: 97.75 kB / 479.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4181, allocations: 0 / 479.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4182, allocations: 0 / 479.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4182, allocations: 5.641 kB / 479.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.4183, allocations: 174.5 kB / 479.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4183, allocations: 0 / 479.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.4184, allocations: 17.92 kB / 479.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4184, allocations: 0 / 479.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4184, allocations: 0 / 479.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4184, allocations: 8 kB / 479.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4184, allocations: 3.906 kB / 479.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001795/0.4186, allocations: 146.8 kB / 479.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4186, allocations: 89.95 kB / 479.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4187, allocations: 3.344 kB / 479.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.4187, allocations: 6.875 kB / 479.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4188, allocations: 5.922 kB / 479.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4188, allocations: 3.344 kB / 479.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.323e-05/0.4189, allocations: 116.3 kB / 480 MB, free: 11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.4191, allocations: 33.77 kB / 480 MB, free: 10.99 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000441/0.4196, allocations: 238 kB / 480.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4197, allocations: 89 kB / 480.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4197, allocations: 0 / 480.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.4198, allocations: 29.09 kB / 480.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.42, allocations: 33.77 kB / 480.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.4204, allocations: 161.1 kB / 480.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.4207, allocations: 0.7212 MB / 481.3 MB, free: 25.98 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4207, allocations: 0 / 481.3 MB, free: 25.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004762/0.4255, allocations: 1.574 MB / 482.8 MB, free: 25.8 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)