Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 114 kB / 17.33 MB, free: 6.012 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.00128/0.00128, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2146/0.2146, allocations: 44.17 MB / 336.2 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.78 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003194/0.1072, allocations: 2.061 MB / 470.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1085, allocations: 0.9509 MB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.1086, allocations: 4 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.109, allocations: 35.84 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1092, allocations: 67.67 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1095, allocations: 123.7 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1098, allocations: 199.4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1099, allocations: 33.66 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1101, allocations: 83.62 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.1102, allocations: 71.62 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1102, allocations: 12 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1103, allocations: 51.98 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.1104, allocations: 43.77 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.1105, allocations: 71.59 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1107, allocations: 191.7 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1107, allocations: 3.938 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1107, allocations: 0 / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1107, allocations: 4 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008711/0.1116, allocations: 0.5488 MB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1117, allocations: 12.03 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.1117, allocations: 24.59 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.112, allocations: 236.9 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.112, allocations: 8.375 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.112, allocations: 16.12 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1124, allocations: 148.1 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1124, allocations: 0 / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1125, allocations: 15.92 kB / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1125, allocations: 0 / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.1129, allocations: 107.9 kB / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.1135, allocations: 0.5515 MB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.1141, allocations: 158.5 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.1144, allocations: 72.8 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1144, allocations: 4 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.1148, allocations: 139.2 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.1148, allocations: 0 / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008364/0.1157, allocations: 261.2 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1158, allocations: 59.34 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.116, allocations: 227.1 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.116, allocations: 25.7 kB / 475.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.1161, allocations: 128.3 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1162, allocations: 39.59 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.1163, allocations: 37.66 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003446/0.1166, allocations: 330.8 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1169, allocations: 67.94 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.1172, allocations: 106.6 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.1177, allocations: 189.8 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1177, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000665/0.1184, allocations: 257.5 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.1185, allocations: 36.05 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1185, allocations: 3.984 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1185, allocations: 4 kB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1187, allocations: 43.84 kB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1187, allocations: 4 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1189, allocations: 27.81 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1189, allocations: 8 kB / 476.5 MB, free: 6.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.1191, allocations: 134.8 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.1191, allocations: 19.8 kB / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.1192, allocations: 25.39 kB / 476.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1192, allocations: 3.938 kB / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1192, allocations: 0 / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1192, allocations: 0 / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1195, allocations: 241.4 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1195, allocations: 0 / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1196, allocations: 27.97 kB / 477 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1197, allocations: 4 kB / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1197, allocations: 4 kB / 477 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1197, allocations: 7.875 kB / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1197, allocations: 0 / 477 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.1206, allocations: 308.6 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.1207, allocations: 88.95 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.1207, allocations: 11.98 kB / 477.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1209, allocations: 19.92 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.121, allocations: 15.97 kB / 477.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.121, allocations: 8 kB / 477.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1212, allocations: 164.7 kB / 477.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1212, allocations: 0 / 477.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1215, allocations: 40 kB / 477.6 MB, free: 5.383 MB / 350.1 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.1225, allocations: 403.6 kB / 478 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.1231, allocations: 230.9 kB / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1231, allocations: 0 / 478.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.1234, allocations: 75.94 kB / 478.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1237, allocations: 37.66 kB / 478.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.1245, allocations: 372 kB / 478.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1248, allocations: 0.7241 MB / 479.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.422e-05/0.1249, allocations: 25.52 kB / 479.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.125, allocations: 27.44 kB / 479.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.125, allocations: 0 / 479.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Templates: time 0.006384/0.1314, allocations: 2.71 MB / 482.2 MB, free: 0.9102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)