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.001173/0.001173, allocations: 102 kB / 15.98 MB, free: 6.344 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.00112/0.00112, allocations: 196.6 kB / 16.9 MB, free: 6.184 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.709/1.709, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.4536/0.4536, allocations: 43.49 MB / 313.6 MB, free: 8.27 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.001516/0.001516, allocations: 63.91 kB / 382.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 57.78 MB / 440 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002165/0.165, allocations: 0.5503 MB / 440.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1675, allocations: 1.296 MB / 441.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1675, allocations: 4 kB / 441.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.1675, allocations: 3.938 kB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.1675, allocations: 0 / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1694, allocations: 0.5068 MB / 442.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.56e-05/0.1695, allocations: 4 kB / 442.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.1695, allocations: 4 kB / 442.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.1695, allocations: 3.984 kB / 442.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.072e-05/0.1696, allocations: 0 / 442.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.1696, allocations: 4 kB / 442.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0269/0.1965, allocations: 2.5 MB / 444.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1965, allocations: 3.984 kB / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.1966, allocations: 0 / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.197, allocations: 159.8 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.197, allocations: 0 / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.197, allocations: 0 / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.197, allocations: 0 / 445 MB, free: 9.516 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.0004632/0.1975, allocations: 385.2 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1975, allocations: 11.89 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1975, allocations: 0.9375 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1977, allocations: 164.4 kB / 445.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1977, allocations: 4.375 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1977, allocations: 384 / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.605e-05/0.1978, allocations: 29.83 kB / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1978, allocations: 0 / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1979, allocations: 4 kB / 445.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1979, allocations: 4 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.1979, allocations: 7.922 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.198, allocations: 141.7 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.1981, allocations: 22.61 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.1981, allocations: 4.859 kB / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/0.1981, allocations: 0 / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.1982, allocations: 68.2 kB / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1982, allocations: 4 kB / 445.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.1984, allocations: 71.22 kB / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1985, allocations: 81.11 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.1985, allocations: 93.86 kB / 446.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1985, allocations: 25.7 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.1986, allocations: 80.14 kB / 446.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.1986, allocations: 0 / 446.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1986, allocations: 13.84 kB / 446.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1987, allocations: 318.8 kB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.1988, allocations: 0 / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.1988, allocations: 4 kB / 446.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.1988, allocations: 64.27 kB / 446.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1988, allocations: 0 / 446.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.174e-05/0.1989, allocations: 67.33 kB / 446.7 MB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.199, allocations: 37.62 kB / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.199, allocations: 4.094 kB / 446.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.199, allocations: 7.938 kB / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.199, allocations: 0 / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.199, allocations: 0 / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.199, allocations: 0 / 446.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1991, allocations: 0 / 446.7 MB, free: 7.559 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.124e-05/0.1991, allocations: 135.5 kB / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.1992, allocations: 3.938 kB / 446.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.259e-05/0.1992, allocations: 3.125 kB / 446.9 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1992, allocations: 7.984 kB / 446.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1992, allocations: 0 / 446.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1992, allocations: 0 / 446.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1993, allocations: 149.7 kB / 447 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1993, allocations: 0 / 447 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1993, allocations: 0 / 447 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1993, allocations: 3.938 kB / 447 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1993, allocations: 0 / 447 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1993, allocations: 0 / 447 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1994, allocations: 4 kB / 447 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.1995, allocations: 94.77 kB / 447.1 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.1995, allocations: 81.05 kB / 447.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1995, allocations: 7.984 kB / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.1995, allocations: 0 / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1995, allocations: 0 / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1996, allocations: 0 / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.1996, allocations: 75.28 kB / 447.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1996, allocations: 3.938 kB / 447.3 MB, free: 6.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.1999, allocations: 76.02 kB / 447.3 MB, free: 6.816 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.0008597/0.2008, allocations: 389.7 kB / 447.7 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.2009, allocations: 59.41 kB / 447.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2009, allocations: 0 / 447.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.2009, allocations: 59.33 kB / 447.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.2011, allocations: 4 kB / 447.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.2013, allocations: 92.91 kB / 447.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2016, allocations: 0.669 MB / 448.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.185e-06/0.2016, allocations: 4.125 kB / 448.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.2016, allocations: 11.44 kB / 448.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2016, allocations: 0 / 448.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of Templates: time 0.004935/0.2066, allocations: 2.095 MB / 450.7 MB, free: 3.359 MB / 382.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)