Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001331/0.001331, allocations: 191.4 kB / 16.25 MB, free: 6.621 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.789/1.789, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4004/0.4004, allocations: 39.94 MB / 309.4 MB, free: 9.625 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.001523/0.001523, allocations: 63.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 56.89 MB / 434 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001744/0.1518, allocations: 0.5363 MB / 434.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1543, allocations: 1.287 MB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1543, allocations: 3.938 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.1544, allocations: 0 / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.1544, allocations: 0 / 435.8 MB, free: 2.477 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.1559, allocations: 0.5107 MB / 436.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.515e-05/0.1559, allocations: 0 / 436.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.156, allocations: 8 kB / 436.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.156, allocations: 0 / 436.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.156, allocations: 3.984 kB / 436.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-06/0.156, allocations: 0 / 436.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0257/0.1817, allocations: 2.477 MB / 438.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1818, allocations: 0 / 438.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.1818, allocations: 0 / 438.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.1821, allocations: 167.7 kB / 439 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1822, allocations: 0 / 439 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1822, allocations: 4 kB / 439 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1822, allocations: 0 / 439 MB, free: 15.34 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.0003588/0.1825, allocations: 377.3 kB / 439.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1826, allocations: 15.83 kB / 439.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.1826, allocations: 0.9375 kB / 439.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1827, allocations: 164.4 kB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1827, allocations: 384 / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-06/0.1828, allocations: 4.312 kB / 439.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.273e-05/0.1828, allocations: 45.75 kB / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-06/0.1828, allocations: 0 / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.1829, allocations: 0 / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-06/0.1829, allocations: 0 / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.211e-05/0.1829, allocations: 0 / 439.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.183, allocations: 141.7 kB / 439.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.1831, allocations: 22.61 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.1831, allocations: 8.844 kB / 439.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1831, allocations: 4 kB / 439.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.1832, allocations: 68.2 kB / 439.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1832, allocations: 0 / 439.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.1833, allocations: 63.31 kB / 439.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1834, allocations: 81.11 kB / 440 MB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.1834, allocations: 93.84 kB / 440.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1835, allocations: 25.7 kB / 440.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1835, allocations: 80.14 kB / 440.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.1835, allocations: 4.125 kB / 440.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.1836, allocations: 13.72 kB / 440.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1837, allocations: 310.8 kB / 440.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.1837, allocations: 0 / 440.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.1838, allocations: 7.938 kB / 440.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.1838, allocations: 60.27 kB / 440.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1838, allocations: 0 / 440.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.267e-05/0.1839, allocations: 67.45 kB / 440.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.184, allocations: 37.64 kB / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.184, allocations: 0 / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.184, allocations: 0 / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-07/0.184, allocations: 0 / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.184, allocations: 0 / 440.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.184, allocations: 4 kB / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1841, allocations: 0 / 440.6 MB, free: 13.4 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 9.861e-05/0.1842, allocations: 143.5 kB / 440.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1842, allocations: 7.969 kB / 440.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-06/0.1842, allocations: 7.125 kB / 440.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1842, allocations: 0 / 440.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1842, allocations: 7.938 kB / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1842, allocations: 0 / 440.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1843, allocations: 141.7 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1843, allocations: 3.984 kB / 441 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1843, allocations: 0 / 441 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1844, allocations: 3.938 kB / 441 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1844, allocations: 7.938 kB / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1844, allocations: 0 / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1844, allocations: 4 kB / 441 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.1845, allocations: 86.83 kB / 441.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.1846, allocations: 85.05 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1846, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.1846, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.1846, allocations: 3.984 kB / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.1846, allocations: 0 / 441.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.1847, allocations: 83.31 kB / 441.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1847, allocations: 0 / 441.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.185, allocations: 63.98 kB / 441.3 MB, free: 12.66 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.0008566/0.1859, allocations: 385.7 kB / 441.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.186, allocations: 55.41 kB / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.186, allocations: 0 / 441.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.1861, allocations: 55.41 kB / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.1862, allocations: 0 / 441.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.1863, allocations: 88.91 kB / 441.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1866, allocations: 0.669 MB / 442.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.58e-06/0.1867, allocations: 4.125 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.1867, allocations: 11.44 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1867, allocations: 0 / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Templates: time 0.005357/0.192, allocations: 2.014 MB / 444.6 MB, free: 9.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings.pipe 2>&1)