Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.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 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.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009115, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.665/1.665, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3435/0.3435, allocations: 43.54 MB / 314.5 MB, free: 8.773 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: Performance of FrontEnd - loaded program: time 0.0004996/0.0004997, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 58.85 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005729/0.1198, allocations: 220.4 kB / 443 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1219, allocations: 1.216 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.1219, allocations: 0 / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.1219, allocations: 4 kB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.1219, allocations: 0 / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1232, allocations: 438.9 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.383e-05/0.1232, allocations: 0 / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.1233, allocations: 0 / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.1233, allocations: 4 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.1233, allocations: 7.969 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.1234, allocations: 3.938 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/0.1243, allocations: 0.6477 MB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-06/0.1244, allocations: 0 / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.1244, allocations: 29.7 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.1249, allocations: 343.5 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1249, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1249, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1249, allocations: 0 / 445.6 MB, free: 10.17 MB / 382.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.0004539/0.1253, allocations: 472.9 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1254, allocations: 12.03 kB / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1254, allocations: 0 / 446.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1255, allocations: 167 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1256, allocations: 4 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1256, allocations: 3.984 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.299e-05/0.1257, allocations: 25.7 kB / 446.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1257, allocations: 0 / 446.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1257, allocations: 4 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1257, allocations: 0 / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.1257, allocations: 0 / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1259, allocations: 157.6 kB / 446.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.1259, allocations: 22.55 kB / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-06/0.1259, allocations: 0 / 446.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.126, allocations: 56.27 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.126, allocations: 0 / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.1262, allocations: 67.36 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1262, allocations: 93.16 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.1263, allocations: 89.86 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1263, allocations: 29.7 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.1263, allocations: 80.14 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1264, allocations: 0 / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.1264, allocations: 0 / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1265, allocations: 314.8 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-06/0.1265, allocations: 0 / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.1265, allocations: 4 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.1265, allocations: 29.77 kB / 447.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1265, allocations: 0 / 447.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.833e-05/0.1266, allocations: 67.39 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.1266, allocations: 29.7 kB / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1266, allocations: 0 / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.1266, allocations: 0 / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.1266, allocations: 4 kB / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1267, allocations: 0 / 447.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.1267, allocations: 3.938 kB / 447.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1267, allocations: 32 / 447.3 MB, free: 8.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.1268, allocations: 155.4 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.1268, allocations: 3.984 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-06/0.1268, allocations: 3.125 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1268, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1268, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1268, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/0.1269, allocations: 149.9 kB / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1269, allocations: 0 / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1269, allocations: 0 / 447.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1269, allocations: 7.984 kB / 447.6 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1269, allocations: 4 kB / 447.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1269, allocations: 0 / 447.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1269, allocations: 0 / 447.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.967e-05/0.127, allocations: 90.84 kB / 447.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.1271, allocations: 85.05 kB / 447.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1271, allocations: 4 kB / 447.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-06/0.1271, allocations: 4.031 kB / 447.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.1271, allocations: 0 / 447.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.1271, allocations: 3.938 kB / 447.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.1271, allocations: 75.28 kB / 447.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1272, allocations: 0 / 447.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.1276, allocations: 207.9 kB / 448.1 MB, free: 7.328 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 (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.001092/0.1287, allocations: 0.6084 MB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.1288, allocations: 59.41 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1288, allocations: 0 / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.1289, allocations: 55.41 kB / 448.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.33e-05/0.1289, allocations: 3.984 kB / 448.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.1291, allocations: 82.78 kB / 448.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1294, allocations: 0.6809 MB / 449.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.1294, allocations: 0 / 449.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.31e-05/0.1294, allocations: 11.44 kB / 449.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1294, allocations: 4.125 kB / 449.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of Templates: time 0.007198/0.1366, allocations: 4.119 MB / 453.7 MB, free: 1.641 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) Environment - environmentSimulation: