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.001412/0.001412, allocations: 103.4 kB / 16.64 MB, free: 6.82 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.0014/0.0014, allocations: 193.9 kB / 17.56 MB, free: 5.938 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.438/1.438, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1969/0.1969, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001419/0.001419, allocations: 68.2 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09633, allocations: 57.78 MB / 440.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001547/0.09792, allocations: 0.5466 MB / 441.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.09968, allocations: 1.302 MB / 442.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.09971, allocations: 0 / 442.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.09974, allocations: 0 / 442.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.09975, allocations: 0 / 442.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1009, allocations: 0.5029 MB / 443 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.096e-05/0.101, allocations: 8 kB / 443 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.101, allocations: 7.875 kB / 443 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.589e-05/0.101, allocations: 7.984 kB / 443 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.1011, allocations: 4 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.1011, allocations: 0 / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02546/0.1265, allocations: 2.485 MB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1266, allocations: 0 / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1266, allocations: 0 / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1268, allocations: 111.8 kB / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1268, allocations: 0 / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1268, allocations: 0 / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1269, allocations: 0 / 445.6 MB, free: 2.492 MB / 318.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.0002914/0.1272, allocations: 384.5 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1272, allocations: 15.89 kB / 446 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.1272, allocations: 4.844 kB / 446 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.1273, allocations: 164.4 kB / 446.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1273, allocations: 4.312 kB / 446.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1273, allocations: 4.312 kB / 446.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.1274, allocations: 33.83 kB / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1274, allocations: 0 / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1275, allocations: 8 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1275, allocations: 0 / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.1275, allocations: 7.984 kB / 446.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.91e-05/0.1276, allocations: 145.7 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.1276, allocations: 18.52 kB / 446.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.1276, allocations: 12.95 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.1277, allocations: 0 / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1277, allocations: 68.2 kB / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1277, allocations: 0 / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.1279, allocations: 67.33 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1279, allocations: 77.11 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.045e-05/0.1279, allocations: 89.86 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.1279, allocations: 25.7 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.128, allocations: 88.12 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.128, allocations: 0 / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.128, allocations: 17.84 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.1281, allocations: 310.8 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.1281, allocations: 7.938 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.1281, allocations: 0 / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.1281, allocations: 64.25 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1281, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.147e-05/0.1282, allocations: 63.41 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1282, allocations: 33.64 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1282, allocations: 8.078 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1282, allocations: 0 / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.1283, allocations: 3.984 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1283, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.1283, allocations: 4 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-06/0.1283, allocations: 0 / 447.3 MB, free: 0.5273 MB / 318.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 5.005e-05/0.1284, allocations: 139.4 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.1284, allocations: 7.938 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-06/0.1284, allocations: 3.125 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1284, allocations: 4 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1284, allocations: 3.938 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1284, allocations: 0 / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.1285, allocations: 145.7 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1285, allocations: 0 / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.1285, allocations: 4 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1285, allocations: 3.938 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1285, allocations: 4 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1285, allocations: 0 / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1285, allocations: 0 / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.1286, allocations: 98.83 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.1286, allocations: 81.05 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1286, allocations: 0 / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.1287, allocations: 0 / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1287, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1287, allocations: 3.938 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.653e-05/0.1287, allocations: 75.28 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1287, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000308/0.129, allocations: 72.02 kB / 448 MB, free: 15.78 MB / 334.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.0007418/0.1298, allocations: 393.7 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1299, allocations: 63.39 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1299, allocations: 0 / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.1299, allocations: 55.41 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1301, allocations: 4 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.1303, allocations: 94.78 kB / 448.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1305, allocations: 0.6769 MB / 449.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.1306, allocations: 11.44 kB / 449.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1306, allocations: 0 / 449.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Templates: time 0.003605/0.1342, allocations: 1.989 MB / 451.2 MB, free: 12.41 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile (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)