Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/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_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_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 90.14 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.187e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 58.87 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.5119, allocations: 87.18 MB / 0.5511 GB, free: 7.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.5121, allocations: 80.73 kB / 0.5512 GB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.5247, allocations: 5.627 MB / 0.5566 GB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5247, allocations: 4 kB / 0.5567 GB, free: 3.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5247, allocations: 3.688 kB / 0.5567 GB, free: 3.566 MB / 362.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.0003846/0.5251, allocations: 381.9 kB / 0.557 GB, free: 3.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5252, allocations: 8.031 kB / 0.557 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.5252, allocations: 11.91 kB / 0.557 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.5255, allocations: 214.1 kB / 0.5572 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5255, allocations: 0 / 0.5572 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.5255, allocations: 0 / 0.5572 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.834e-05/0.5256, allocations: 27.73 kB / 0.5573 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.5257, allocations: 62.83 kB / 0.5573 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5258, allocations: 4 kB / 0.5573 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5258, allocations: 0 / 0.5573 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5258, allocations: 0 / 0.5573 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.5261, allocations: 260.5 kB / 0.5576 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.5262, allocations: 54.38 kB / 0.5576 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.5262, allocations: 20.73 kB / 0.5577 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.5263, allocations: 0 / 0.5577 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.5264, allocations: 71.14 kB / 0.5577 GB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5264, allocations: 7.875 kB / 0.5577 GB, free: 2.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004104/0.5268, allocations: 144 kB / 0.5579 GB, free: 2.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5269, allocations: 77.11 kB / 0.5579 GB, free: 2.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.527, allocations: 143.1 kB / 0.5581 GB, free: 2.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.527, allocations: 29.7 kB / 0.5581 GB, free: 1.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.527, allocations: 91.89 kB / 0.5582 GB, free: 1.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5271, allocations: 31.41 kB / 0.5582 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5271, allocations: 0 / 0.5582 GB, free: 1.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.5271, allocations: 322.5 kB / 0.5585 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.5272, allocations: 19.75 kB / 0.5585 GB, free: 1.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.5272, allocations: 34.45 kB / 0.5586 GB, free: 1.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.5273, allocations: 27.55 kB / 0.5586 GB, free: 1.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5273, allocations: 0 / 0.5586 GB, free: 1.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001116/0.5274, allocations: 81.09 kB / 0.5587 GB, free: 1.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5274, allocations: 8.062 kB / 0.5587 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5274, allocations: 4 kB / 0.5587 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5274, allocations: 3.953 kB / 0.5587 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.5275, allocations: 27.47 kB / 0.5587 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5276, allocations: 4 kB / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.5276, allocations: 0 / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.5276, allocations: 4 kB / 0.5587 GB, free: 1.379 MB / 362.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 6.442e-05/0.5277, allocations: 110.7 kB / 0.5588 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.5277, allocations: 7.906 kB / 0.5588 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.5279, allocations: 105.7 kB / 0.5589 GB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5279, allocations: 4 kB / 0.559 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.5279, allocations: 7.938 kB / 0.559 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5279, allocations: 0 / 0.559 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.5282, allocations: 365.9 kB / 0.5593 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5282, allocations: 0 / 0.5593 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.5283, allocations: 8 kB / 0.5593 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5283, allocations: 4 kB / 0.5593 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5283, allocations: 12.25 kB / 0.5593 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5283, allocations: 0 / 0.5593 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5283, allocations: 0 / 0.5593 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.5285, allocations: 213 kB / 0.5595 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.5285, allocations: 88.7 kB / 0.5596 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5285, allocations: 15.88 kB / 0.5596 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.5286, allocations: 4 kB / 0.5596 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.5287, allocations: 8.172 kB / 0.5596 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5287, allocations: 8 kB / 0.5597 GB, free: 424 kB / 362.7 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.5287, allocations: 114.6 kB / 0.5598 GB, free: 324 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5287, allocations: 0 / 0.5598 GB, free: 324 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.529, allocations: 35.94 kB / 0.5598 GB, free: 288 kB / 362.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.0009102/0.5299, allocations: 431.5 kB / 0.5602 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.5301, allocations: 51.31 kB / 0.5603 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5301, allocations: 3.938 kB / 0.5603 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.5301, allocations: 27.56 kB / 0.5603 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.5304, allocations: 23.91 kB / 0.5603 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.5308, allocations: 133.7 kB / 0.5604 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5311, allocations: 0.704 MB / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.5311, allocations: 16.84 kB / 0.5611 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.5312, allocations: 19.42 kB / 0.5612 GB, free: 14.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5312, allocations: 0 / 0.5612 GB, free: 14.92 MB / 378.7 MB Notification: Performance of Templates: time 0.004493/0.5357, allocations: 1.846 MB / 0.563 GB, free: 13.1 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)