Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007349/0.0007349, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007532/0.0007533, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2844/0.2844, allocations: 38.03 MB / 308.4 MB, free: 10.48 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004965, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09201, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001704/0.09376, allocations: 1.37 MB / 435.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.09477, allocations: 0.7459 MB / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.09485, allocations: 0 / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.09508, allocations: 39.91 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.09523, allocations: 39.83 kB / 436.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.09546, allocations: 71.84 kB / 436.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.0956, allocations: 83.69 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.09568, allocations: 16.19 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.09575, allocations: 39.8 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.09582, allocations: 27.84 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.09584, allocations: 8 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.09592, allocations: 35.98 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.09597, allocations: 15.92 kB / 436.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.09601, allocations: 37.64 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.09614, allocations: 92.08 kB / 436.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09615, allocations: 0 / 436.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09616, allocations: 3.938 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.09617, allocations: 0 / 436.6 MB, free: 2.902 MB / 366.1 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.0004012/0.09658, allocations: 394.9 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.09661, allocations: 12.03 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.09665, allocations: 19.77 kB / 437 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.09684, allocations: 198.8 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.09686, allocations: 4 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.09688, allocations: 4 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.097, allocations: 49.67 kB / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.09702, allocations: 0 / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.09704, allocations: 4 kB / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.09705, allocations: 4 kB / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.09714, allocations: 23.94 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.09747, allocations: 284.9 kB / 437.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.09761, allocations: 50.67 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.09767, allocations: 20.86 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.09769, allocations: 8 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.09784, allocations: 67.31 kB / 437.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.09785, allocations: 0 / 437.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004493/0.09831, allocations: 173.5 kB / 437.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.09836, allocations: 55.34 kB / 437.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.09851, allocations: 186.2 kB / 438.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.09854, allocations: 25.7 kB / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.09859, allocations: 108.1 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.09862, allocations: 19.72 kB / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.09863, allocations: 4 kB / 438.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.09873, allocations: 322.8 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.09879, allocations: 19.98 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.09885, allocations: 33.7 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.09891, allocations: 24 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.09892, allocations: 4 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.09908, allocations: 105.4 kB / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.09911, allocations: 11.95 kB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.09912, allocations: 3.938 kB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.09913, allocations: 0 / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.09921, allocations: 20.05 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.09923, allocations: 4.344 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.09927, allocations: 4 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.09929, allocations: 7.938 kB / 438.8 MB, free: 456 kB / 366.1 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 () * Number of clocked 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 8.989e-05/0.09938, allocations: 130.8 kB / 438.9 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.09942, allocations: 11.91 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.09947, allocations: 24.66 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09947, allocations: 0 / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.09948, allocations: 0 / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.09949, allocations: 0 / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.09987, allocations: 387.3 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.09989, allocations: 3.953 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.09993, allocations: 11.98 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.09994, allocations: 3.984 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.09995, allocations: 4 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.09996, allocations: 4 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09997, allocations: 0 / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1002, allocations: 208.2 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.1002, allocations: 96.95 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1003, allocations: 0 / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.1003, allocations: 4 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1004, allocations: 11.98 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1004, allocations: 0 / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1005, allocations: 144 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1005, allocations: 4 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1008, allocations: 24 kB / 439.9 MB, free: 15.29 MB / 382.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009757/0.1018, allocations: 460.9 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.102, allocations: 63.91 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.102, allocations: 4.062 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.102, allocations: 31.86 kB / 440.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1024, allocations: 23.98 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1028, allocations: 234.4 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1031, allocations: 0.7004 MB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.1032, allocations: 25.17 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1032, allocations: 15.44 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1032, allocations: 0 / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003777/0.107, allocations: 1.599 MB / 443 MB, free: 12.11 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: