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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 100.3 kB / 20.44 MB, free: 1.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 214.6 kB / 23.74 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.27 MB / 331.1 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 71.89 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1246, allocations: 61.05 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001866/0.1265, allocations: 498.7 kB / 0.5178 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.1292, allocations: 1.263 MB / 0.5191 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.1292, allocations: 0 / 0.5191 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.1292, allocations: 3.938 kB / 0.5191 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.1292, allocations: 0 / 0.5191 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1309, allocations: 0.5843 MB / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.131, allocations: 0 / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.131, allocations: 0 / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.131, allocations: 0 / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.43e-05/0.1311, allocations: 4 kB / 0.5196 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-06/0.1311, allocations: 0 / 0.5196 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.1487, allocations: 2.545 MB / 0.5221 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.1487, allocations: 4 kB / 0.5221 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1487, allocations: 0 / 0.5221 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.1492, allocations: 163.7 kB / 0.5223 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1492, allocations: 0 / 0.5223 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1492, allocations: 4 kB / 0.5223 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1492, allocations: 0 / 0.5223 GB, free: 1.684 MB / 398.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.0004662/0.1497, allocations: 303.8 kB / 0.5226 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1497, allocations: 12.03 kB / 0.5226 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1498, allocations: 0.9375 kB / 0.5226 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.1499, allocations: 110.5 kB / 0.5227 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1499, allocations: 384 / 0.5227 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1499, allocations: 4.375 kB / 0.5227 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.15, allocations: 59.53 kB / 0.5228 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.15, allocations: 0 / 0.5228 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.15, allocations: 0 / 0.5228 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.15, allocations: 0 / 0.5228 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.1501, allocations: 33.7 kB / 0.5228 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1502, allocations: 93.33 kB / 0.5229 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1503, allocations: 52.23 kB / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.1503, allocations: 30.56 kB / 0.523 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1504, allocations: 0 / 0.523 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.1504, allocations: 68.33 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1504, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000239/0.1507, allocations: 118.7 kB / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1507, allocations: 77.11 kB / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.1508, allocations: 93.8 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1508, allocations: 25.7 kB / 0.5233 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1508, allocations: 88.14 kB / 0.5234 GB, free: 336 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.1509, allocations: 7.891 kB / 0.5234 GB, free: 328 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1509, allocations: 9.719 kB / 0.5234 GB, free: 312 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1511, allocations: 314.8 kB / 0.5237 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.1511, allocations: 29.83 kB / 0.5238 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.1511, allocations: 29.69 kB / 0.5238 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/0.1512, allocations: 64.27 kB / 0.5238 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1512, allocations: 0 / 0.5238 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.1513, allocations: 85.11 kB / 0.5239 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.1513, allocations: 37.69 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1514, allocations: 3.938 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1514, allocations: 0 / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1514, allocations: 3.938 kB / 0.524 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1514, allocations: 8.031 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.1514, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1514, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.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 0.0001091/0.1515, allocations: 139.5 kB / 0.5241 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.1515, allocations: 0 / 0.5241 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.1515, allocations: 6.938 kB / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1515, allocations: 3.984 kB / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1515, allocations: 4 kB / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1515, allocations: 0 / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/0.1516, allocations: 93.33 kB / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1516, allocations: 4 kB / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1516, allocations: 0 / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1516, allocations: 0 / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1516, allocations: 8 kB / 0.5242 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1516, allocations: 3.938 kB / 0.5242 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1516, allocations: 0 / 0.5242 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1518, allocations: 116.5 kB / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.1518, allocations: 3.938 kB / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1518, allocations: 0 / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.1518, allocations: 7.938 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1518, allocations: 3.984 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1518, allocations: 4.031 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.1519, allocations: 75.28 kB / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1519, allocations: 0 / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1522, allocations: 75.75 kB / 0.5245 GB, free: 15.07 MB / 414.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.001169/0.1534, allocations: 397.7 kB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1535, allocations: 118.7 kB / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1535, allocations: 0 / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.1536, allocations: 81.11 kB / 0.5251 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1537, allocations: 7.906 kB / 0.5251 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.154, allocations: 140.3 kB / 0.5252 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.74e-05/0.1541, allocations: 55.36 kB / 0.5253 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1541, allocations: 11.44 kB / 0.5253 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1541, allocations: 0 / 0.5253 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.00493/0.159, allocations: 1.993 MB / 0.5272 GB, free: 12.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.832140880636871] Failed to read output from testmodel.py, exit status != 0: 0.16885262401774526 0.41816818499999997 0.039242229 Calling exit ...