Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007846/0.007846, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.782/1.782, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3293/0.3293, allocations: 40 MB / 310.7 MB, free: 9.906 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.2. 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.0005478/0.0005478, allocations: 12 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 57.97 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0006029/0.1246, allocations: 214.1 kB / 437.6 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005794/0.1252, allocations: 248.9 kB / 437.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.1252, allocations: 4 kB / 437.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1253, allocations: 0 / 437.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.429e-06/0.1253, allocations: 4 kB / 437.9 MB, free: 1.742 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function ‘ModelicaTest.Utilities.Internal‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1255, allocations: 43.88 kB / 437.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 2.957e-05/0.1256, allocations: 0 / 437.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1256, allocations: 0 / 437.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.1256, allocations: 4 kB / 437.9 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.1257, allocations: 4 kB / 437.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1257, allocations: 0 / 437.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1258, allocations: 63.94 kB / 438 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.1258, allocations: 0 / 438 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1259, allocations: 29.7 kB / 438 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.126, allocations: 51.88 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.126, allocations: 4 kB / 438.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.126, allocations: 0 / 438.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.126, allocations: 4 kB / 438.1 MB, free: 1.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003032/0.1263, allocations: 345.3 kB / 438.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1264, allocations: 12.03 kB / 438.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.1264, allocations: 0.9375 kB / 438.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.1265, allocations: 160.4 kB / 438.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1265, allocations: 8.312 kB / 438.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1265, allocations: 384 / 438.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.986e-05/0.1266, allocations: 38.19 kB / 438.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1266, allocations: 192 / 438.6 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1266, allocations: 3.938 kB / 438.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1266, allocations: 0 / 438.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.1267, allocations: 4 kB / 438.6 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1268, allocations: 149.6 kB / 438.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.1268, allocations: 18.58 kB / 438.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.1269, allocations: 8.953 kB / 438.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1269, allocations: 3.938 kB / 438.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.1269, allocations: 60.25 kB / 438.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1269, allocations: 0 / 438.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.1272, allocations: 71.25 kB / 438.9 MB, free: 492 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1272, allocations: 77.11 kB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.033e-05/0.1273, allocations: 93.98 kB / 439.1 MB, free: 292 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1273, allocations: 25.7 kB / 439.1 MB, free: 260 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.1273, allocations: 88.11 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1274, allocations: 4 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1274, allocations: 9.719 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1275, allocations: 314.8 kB / 439.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.1275, allocations: 0 / 439.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.1275, allocations: 3.938 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.1276, allocations: 64.33 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1276, allocations: 0 / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.198e-05/0.1277, allocations: 63.39 kB / 439.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.1277, allocations: 33.7 kB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1277, allocations: 4 kB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1277, allocations: 3.938 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1278, allocations: 0 / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1278, allocations: 0 / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.1278, allocations: 0 / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.1278, allocations: 0 / 439.7 MB, free: 15.62 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.457e-05/0.1279, allocations: 139.6 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.1279, allocations: 3.984 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.1279, allocations: 7.062 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1279, allocations: 3.938 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1279, allocations: 0 / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1279, allocations: 4 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.473e-05/0.128, allocations: 141.7 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.128, allocations: 4 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1281, allocations: 0 / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1281, allocations: 7.938 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1281, allocations: 11.86 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1281, allocations: 4 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1281, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.1282, allocations: 82.84 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.1283, allocations: 85.09 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1283, allocations: 3.938 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.1283, allocations: 0 / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1283, allocations: 12.02 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1283, allocations: 0 / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.1284, allocations: 75.28 kB / 440.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 4 kB / 440.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1286, allocations: 16 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004932/0.1291, allocations: 284.2 kB / 440.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.1292, allocations: 55.41 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1292, allocations: 0 / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.1293, allocations: 55.41 kB / 440.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1294, allocations: 4 kB / 440.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.1296, allocations: 82.69 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1298, allocations: 0.6733 MB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.39e-06/0.1298, allocations: 4 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-06/0.1298, allocations: 7.438 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1298, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Templates: time 0.003145/0.133, allocations: 0.7852 MB / 442.2 MB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal.pipe 2>&1) Environment - environmentSimulation: