Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001255/0.001255, allocations: 189.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.926 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.3438/0.3438, allocations: 37.98 MB / 307.4 MB, free: 9.93 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.001336/0.001336, allocations: 74.2 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 56.46 MB / 431.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003071/0.1166, allocations: 1.73 MB / 432.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1177, allocations: 0.6128 MB / 433.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.1178, allocations: 3.938 kB / 433.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.1178, allocations: 11.92 kB / 433.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1179, allocations: 11.88 kB / 433.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1183, allocations: 111.8 kB / 433.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1185, allocations: 151.5 kB / 433.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1186, allocations: 45.25 kB / 433.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1188, allocations: 63.77 kB / 433.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1189, allocations: 63.69 kB / 434 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.1189, allocations: 12 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.119, allocations: 12 kB / 434 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.119, allocations: 27.91 kB / 434 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.119, allocations: 63.66 kB / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1192, allocations: 123.6 kB / 434.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1192, allocations: 0 / 434.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1193, allocations: 4 kB / 434.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1193, allocations: 4 kB / 434.2 MB, free: 3.926 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006151/0.1199, allocations: 458.8 kB / 434.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1199, allocations: 15.89 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.12, allocations: 12.84 kB / 434.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1202, allocations: 223.9 kB / 434.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1202, allocations: 4.375 kB / 434.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1203, allocations: 12.38 kB / 434.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.1206, allocations: 172.4 kB / 435.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1207, allocations: 0 / 435.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.1207, allocations: 8 kB / 435.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1207, allocations: 3.984 kB / 435.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.1211, allocations: 127.9 kB / 435.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.1218, allocations: 448.2 kB / 435.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1223, allocations: 190.4 kB / 435.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.1225, allocations: 72.8 kB / 435.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1226, allocations: 8.141 kB / 435.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1226, allocations: 42.55 kB / 436 MB, free: 1.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1226, allocations: 0 / 436 MB, free: 1.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001332/0.1239, allocations: 0.5567 MB / 436.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.124, allocations: 122.7 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1241, allocations: 159.1 kB / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1242, allocations: 33.7 kB / 436.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.1242, allocations: 104.1 kB / 437 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1243, allocations: 31.64 kB / 437 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1243, allocations: 29.64 kB / 437 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1245, allocations: 326.8 kB / 437.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1247, allocations: 76.8 kB / 437.4 MB, free: 468 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1249, allocations: 90.5 kB / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1253, allocations: 144.7 kB / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1253, allocations: 0 / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004589/0.1258, allocations: 193.3 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1258, allocations: 4 kB / 437.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1258, allocations: 160 / 437.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1258, allocations: 0 / 437.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.126, allocations: 43.95 kB / 437.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.126, allocations: 3.984 kB / 437.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.1262, allocations: 23.97 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1262, allocations: 7.938 kB / 437.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001411/0.1263, allocations: 116.1 kB / 438 MB, free: 15.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001167/0.1265, allocations: 58.83 kB / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001715/0.1267, allocations: 84.91 kB / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.1267, allocations: 0 / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002345/0.1269, allocations: 121.5 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-06/0.1269, allocations: 4 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.1269, allocations: 4 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-06/0.1269, allocations: 0 / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.127, allocations: 19.98 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.127, allocations: 3.938 kB / 438.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.1271, allocations: 19.98 kB / 438.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1271, allocations: 4 kB / 438.3 MB, free: 15.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.1273, allocations: 180.3 kB / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1273, allocations: 19.8 kB / 438.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.1274, allocations: 13.41 kB / 438.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1274, allocations: 7.938 kB / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1274, allocations: 0 / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1274, allocations: 4 kB / 438.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.1282, allocations: 0.5069 MB / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1282, allocations: 7.969 kB / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.1284, allocations: 31.97 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1284, allocations: 0 / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1284, allocations: 4 kB / 439.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1284, allocations: 0 / 439.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1284, allocations: 0 / 439.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.1292, allocations: 368.1 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.1292, allocations: 93.05 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.1293, allocations: 3.938 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1295, allocations: 35.95 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.1295, allocations: 11.97 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1295, allocations: 4 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.327e-05/0.1296, allocations: 123.2 kB / 439.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1296, allocations: 0 / 439.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1299, allocations: 36 kB / 439.8 MB, free: 13.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001213/0.1301, allocations: 107.1 kB / 439.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1306, allocations: 199.8 kB / 440.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1306, allocations: 0 / 440.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1308, allocations: 79.86 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1312, allocations: 39.72 kB / 440.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.1319, allocations: 329 kB / 440.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1322, allocations: 0.7085 MB / 441.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.214e-05/0.1322, allocations: 16.88 kB / 441.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.1323, allocations: 15.44 kB / 441.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1323, allocations: 0 / 441.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004615/0.1369, allocations: 2.116 MB / 443.4 MB, free: 10.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)