Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.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.001437/0.001437, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001545/0.001545, allocations: 209.5 kB / 23.74 MB, free: 4.445 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.54/1.54, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.2324/0.2324, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") [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.002651/0.002651, allocations: 78.23 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1252, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001527/0.1267, allocations: 0.4948 MB / 0.5178 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.13, allocations: 2.12 MB / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-06/0.13, allocations: 0 / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-06/0.13, allocations: 0 / 0.5199 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.13, allocations: 4 kB / 0.5199 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.1321, allocations: 0.6117 MB / 0.5205 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.1321, allocations: 8 kB / 0.5205 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.1321, allocations: 8 kB / 0.5205 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.1322, allocations: 15.91 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.1323, allocations: 4 kB / 0.5206 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-06/0.1323, allocations: 0 / 0.5206 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1334, allocations: 0.6125 MB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.1334, allocations: 4 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1334, allocations: 3.984 kB / 0.5212 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.134, allocations: 427.1 kB / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.134, allocations: 0 / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.134, allocations: 0 / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.134, allocations: 0 / 0.5216 GB, free: 2.359 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004044/0.1344, allocations: 351.3 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1344, allocations: 8.031 kB / 0.5219 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.1345, allocations: 80.22 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1346, allocations: 181.8 kB / 0.5222 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.1347, allocations: 158.9 kB / 0.5223 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.1348, allocations: 154.7 kB / 0.5225 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.1348, allocations: 105 kB / 0.5226 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.1349, allocations: 79.22 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.135, allocations: 154.5 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.785e-05/0.135, allocations: 150.6 kB / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.1351, allocations: 154.6 kB / 0.5231 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.1354, allocations: 397.5 kB / 0.5234 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1355, allocations: 173.1 kB / 0.5236 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1355, allocations: 80.14 kB / 0.5237 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.1356, allocations: 79.28 kB / 0.5238 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/0.1356, allocations: 139.5 kB / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1356, allocations: 0 / 0.5239 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.871e-05/0.1357, allocations: 29.64 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.1358, allocations: 156.4 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.682e-05/0.1359, allocations: 93.84 kB / 0.5242 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1359, allocations: 29.7 kB / 0.5242 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.1359, allocations: 80.14 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.1359, allocations: 0 / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1359, allocations: 13.72 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1361, allocations: 314.8 kB / 0.5246 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-06/0.1361, allocations: 0 / 0.5246 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.1361, allocations: 29.7 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.1361, allocations: 75.28 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/0.1362, allocations: 75.28 kB / 0.5248 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.566e-05/0.1362, allocations: 37.62 kB / 0.5248 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.1363, allocations: 83.22 kB / 0.5249 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.1363, allocations: 75.28 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.09e-05/0.1364, allocations: 158.6 kB / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.277e-05/0.1364, allocations: 79.22 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.644e-05/0.1365, allocations: 150.6 kB / 0.5253 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.1366, allocations: 87.25 kB / 0.5254 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.1366, allocations: 83.33 kB / 0.5255 GB, free: 14.14 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001332/0.1367, allocations: 264.4 kB / 0.5257 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.1368, allocations: 108.9 kB / 0.5258 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1369, allocations: 111.9 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-05/0.1369, allocations: 180.2 kB / 0.5261 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.572e-05/0.137, allocations: 180.2 kB / 0.5263 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.488e-05/0.1371, allocations: 184.2 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1373, allocations: 352.8 kB / 0.5268 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-05/0.1374, allocations: 108.9 kB / 0.5269 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1374, allocations: 105 kB / 0.527 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-05/0.1375, allocations: 180.2 kB / 0.5272 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.1376, allocations: 188.2 kB / 0.5273 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.986e-05/0.1376, allocations: 176.3 kB / 0.5275 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.162e-05/0.1377, allocations: 180.2 kB / 0.5277 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.1379, allocations: 307.8 kB / 0.528 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1379, allocations: 109 kB / 0.5281 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.138, allocations: 188.2 kB / 0.5283 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1381, allocations: 108.9 kB / 0.5284 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.1382, allocations: 184.2 kB / 0.5285 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.1382, allocations: 109.4 kB / 0.5287 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.1383, allocations: 79.27 kB / 0.5287 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1383, allocations: 0 / 0.5287 GB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1387, allocations: 131.6 kB / 0.5289 GB, free: 10.49 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0008254/0.1396, allocations: 400.4 kB / 0.5292 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.265e-05/0.1396, allocations: 12.06 kB / 0.5292 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1396, allocations: 0 / 0.5292 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.1396, allocations: 4.031 kB / 0.5292 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.14, allocations: 459.6 kB / 0.5297 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.1402, allocations: 185.8 kB / 0.5299 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.575e-05/0.1402, allocations: 55.36 kB / 0.5299 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.1403, allocations: 7.438 kB / 0.5299 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1403, allocations: 0 / 0.5299 GB, free: 9.332 MB / 414.1 MB Notification: Performance of Templates: time 0.005939/0.1462, allocations: 2.721 MB / 0.5326 GB, free: 6.609 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.291025543119758] Failed to read output from testmodel.py, exit status != 0: 0.15497140493243933 0.41004726599999997 0.272604589 Calling exit ...