Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001447/0.001447, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.548/1.548, allocations: 205.4 MB / 222.5 MB, free: 5.57 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.3042/0.3042, allocations: 38.04 MB / 308.8 MB, free: 10.37 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.0006088/0.0006088, allocations: 16.22 kB / 377.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1141, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002009/0.1162, allocations: 1.393 MB / 436 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1174, allocations: 0.7806 MB / 436.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.1176, allocations: 0 / 436.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1178, allocations: 35.89 kB / 436.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.118, allocations: 51.77 kB / 436.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1183, allocations: 71.84 kB / 436.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1185, allocations: 95.69 kB / 437 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1186, allocations: 16.22 kB / 437 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.1187, allocations: 35.78 kB / 437.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.1188, allocations: 27.86 kB / 437.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1188, allocations: 0 / 437.1 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1189, allocations: 39.97 kB / 437.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.119, allocations: 19.92 kB / 437.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.119, allocations: 61.42 kB / 437.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1192, allocations: 107.9 kB / 437.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1192, allocations: 4 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1192, allocations: 4 kB / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1192, allocations: 3.938 kB / 437.3 MB, free: 2.453 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.0004698/0.1197, allocations: 391.2 kB / 437.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1198, allocations: 8.031 kB / 437.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1198, allocations: 20.69 kB / 437.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.12, allocations: 208.1 kB / 437.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.12, allocations: 4.375 kB / 437.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1201, allocations: 4.125 kB / 437.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1202, allocations: 61.61 kB / 438 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1202, allocations: 0 / 438 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1202, allocations: 4 kB / 438 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1202, allocations: 0 / 438 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.1203, allocations: 15.98 kB / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1206, allocations: 284.9 kB / 438.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1208, allocations: 66.61 kB / 438.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1209, allocations: 16.86 kB / 438.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1209, allocations: 0 / 438.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.1211, allocations: 63.39 kB / 438.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1211, allocations: 0 / 438.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004752/0.1216, allocations: 185.2 kB / 438.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1216, allocations: 55.41 kB / 438.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1218, allocations: 178.2 kB / 438.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1218, allocations: 37.64 kB / 438.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1219, allocations: 104.1 kB / 439 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1219, allocations: 23.7 kB / 439 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1219, allocations: 13.72 kB / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1221, allocations: 326.8 kB / 439.3 MB, free: 212 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.1221, allocations: 19.98 kB / 439.4 MB, free: 192 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.1222, allocations: 41.64 kB / 439.4 MB, free: 144 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1223, allocations: 61.7 kB / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1223, allocations: 0 / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1225, allocations: 101.4 kB / 439.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1225, allocations: 4 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1226, allocations: 4 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1226, allocations: 4.031 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.1227, allocations: 15.98 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1227, allocations: 0 / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.1227, allocations: 7.938 kB / 439.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1227, allocations: 4 kB / 439.6 MB, free: 15.93 MB / 382.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 9.558e-05/0.1228, allocations: 133.7 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1229, allocations: 8.094 kB / 439.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.1229, allocations: 16.72 kB / 439.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1229, allocations: 7.922 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1229, allocations: 4 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1229, allocations: 3.938 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.1234, allocations: 391.3 kB / 440.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1234, allocations: 0 / 440.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1234, allocations: 8 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1234, allocations: 0 / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1234, allocations: 3.938 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1234, allocations: 4 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1234, allocations: 8.016 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1237, allocations: 204.4 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1237, allocations: 85.02 kB / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1238, allocations: 3.938 kB / 440.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1238, allocations: 11.98 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.1239, allocations: 11.98 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1239, allocations: 0 / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.124, allocations: 152 kB / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 0 / 440.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1243, allocations: 20 kB / 440.7 MB, free: 14.77 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 (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.0009736/0.1253, allocations: 474.3 kB / 441.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1254, allocations: 55.91 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1254, allocations: 0 / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1255, allocations: 31.92 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1258, allocations: 23.98 kB / 441.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.1262, allocations: 250.6 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1265, allocations: 0.7082 MB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.1266, allocations: 21.19 kB / 442.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.1266, allocations: 19.42 kB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1266, allocations: 0 / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of Templates: time 0.004507/0.1311, allocations: 1.612 MB / 443.8 MB, free: 11.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) Environment - environmentSimulation: