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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 187 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009584/0.0009583, allocations: 100.7 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.319/0.319, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009902, allocations: 55.91 kB / 429.2 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1019, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001593/0.1035, allocations: 0.5464 MB / 487.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1057, allocations: 1.39 MB / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-06/0.1057, allocations: 0 / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1057, allocations: 0 / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.1058, allocations: 0 / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1068, allocations: 458.9 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.617e-05/0.1068, allocations: 4 kB / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.774e-05/0.1069, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.1069, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.53e-05/0.1069, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-06/0.1069, allocations: 0 / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03338/0.1403, allocations: 2.344 MB / 491.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1403, allocations: 0 / 491.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.1404, allocations: 4 kB / 491.7 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1407, allocations: 163.7 kB / 491.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1407, allocations: 0 / 491.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1407, allocations: 0 / 491.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1407, allocations: 0 / 491.9 MB, free: 7.723 MB / 378.7 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.0003375/0.1411, allocations: 381.2 kB / 492.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1411, allocations: 8.031 kB / 492.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1411, allocations: 4.938 kB / 492.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.414e-05/0.1412, allocations: 160.4 kB / 492.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1412, allocations: 384 / 492.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.1413, allocations: 12.31 kB / 492.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.1413, allocations: 29.83 kB / 492.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1413, allocations: 0 / 492.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1414, allocations: 0 / 492.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1414, allocations: 4 kB / 492.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.1414, allocations: 3.984 kB / 492.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.1415, allocations: 141.7 kB / 492.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.1416, allocations: 26.61 kB / 492.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.1416, allocations: 16.73 kB / 492.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.1416, allocations: 0 / 492.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.1417, allocations: 60.2 kB / 492.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1417, allocations: 4.062 kB / 492.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.1418, allocations: 63.3 kB / 492.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1419, allocations: 81.11 kB / 492.9 MB, free: 6.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.181e-05/0.1419, allocations: 93.98 kB / 493 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1419, allocations: 29.7 kB / 493 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.142, allocations: 80.14 kB / 493.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.142, allocations: 0 / 493.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.142, allocations: 13.72 kB / 493.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1421, allocations: 314.8 kB / 493.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.1422, allocations: 3.938 kB / 493.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1422, allocations: 4 kB / 493.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.1422, allocations: 68.33 kB / 493.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1422, allocations: 0 / 493.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.145e-05/0.1423, allocations: 59.41 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.1424, allocations: 37.62 kB / 493.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1424, allocations: 0 / 493.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1424, allocations: 4 kB / 493.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.1424, allocations: 0 / 493.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1424, allocations: 3.938 kB / 493.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.1424, allocations: 0 / 493.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1424, allocations: 0 / 493.6 MB, free: 5.777 MB / 378.7 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 7.604e-05/0.1425, allocations: 143.5 kB / 493.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.1425, allocations: 3.938 kB / 493.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-06/0.1425, allocations: 3.125 kB / 493.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1425, allocations: 3.984 kB / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1426, allocations: 0 / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1426, allocations: 0 / 493.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.1426, allocations: 149.7 kB / 493.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1427, allocations: 0 / 493.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1427, allocations: 0 / 493.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1427, allocations: 7.938 kB / 493.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1427, allocations: 0 / 493.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1427, allocations: 0 / 493.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1427, allocations: 3.984 kB / 493.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.143, allocations: 0.6335 MB / 494.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.143, allocations: 81.11 kB / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1431, allocations: 4.031 kB / 494.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-06/0.1431, allocations: 0 / 494.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.1431, allocations: 3.984 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1431, allocations: 3.938 kB / 494.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1431, allocations: 75.28 kB / 494.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 4 kB / 494.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.1436, allocations: 67.98 kB / 494.7 MB, free: 4.449 MB / 378.7 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.0006701/0.1442, allocations: 409.5 kB / 495.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.1443, allocations: 71.33 kB / 495.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1443, allocations: 4.062 kB / 495.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.1444, allocations: 55.41 kB / 495.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.1445, allocations: 0 / 495.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.1447, allocations: 177.5 kB / 495.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.145, allocations: 0.6731 MB / 496.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.318e-06/0.145, allocations: 0 / 496.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.145, allocations: 11.44 kB / 496.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.145, allocations: 0 / 496.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of Templates: time 0.004307/0.1493, allocations: 2.088 MB / 498.2 MB, free: 0.8711 MB / 378.7 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)