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.001506/0.001506, allocations: 105 kB / 20.44 MB, free: 1.504 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.001771/0.001771, allocations: 220.9 kB / 23.76 MB, free: 4.723 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.311/1.311, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] 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.1949/0.1949, allocations: 44.25 MB / 331 MB, free: 9.535 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.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.002071/0.002071, allocations: 78.47 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1014, allocations: 61.04 MB / 0.5174 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001524/0.1029, allocations: 0.5017 MB / 0.5178 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.106, allocations: 2.248 MB / 0.52 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-06/0.1061, allocations: 0 / 0.52 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-06/0.1061, allocations: 0 / 0.52 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.1061, allocations: 3.938 kB / 0.52 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.1081, allocations: 0.6273 MB / 0.5207 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.1081, allocations: 12 kB / 0.5207 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.1081, allocations: 4 kB / 0.5207 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.1082, allocations: 4 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.1082, allocations: 7.984 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-06/0.1083, allocations: 4 kB / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1093, allocations: 0.6437 MB / 0.5213 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-06/0.1093, allocations: 0 / 0.5213 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.1093, allocations: 4 kB / 0.5213 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.1099, allocations: 427.1 kB / 0.5217 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1099, allocations: 0 / 0.5217 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1099, allocations: 0 / 0.5217 GB, free: 2.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1099, allocations: 4 kB / 0.5217 GB, free: 2.352 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.000434/0.1104, allocations: 351.3 kB / 0.5221 GB, free: 1.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1104, allocations: 8.031 kB / 0.5221 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.1105, allocations: 84.22 kB / 0.5222 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1106, allocations: 177.8 kB / 0.5223 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.1106, allocations: 158.9 kB / 0.5225 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.1107, allocations: 154.7 kB / 0.5226 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.1108, allocations: 104.9 kB / 0.5227 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.1108, allocations: 83.27 kB / 0.5228 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.1109, allocations: 154.6 kB / 0.523 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.111, allocations: 150.6 kB / 0.5231 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.111, allocations: 150.6 kB / 0.5232 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1113, allocations: 417 kB / 0.5236 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.1114, allocations: 173.1 kB / 0.5238 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.1115, allocations: 84.08 kB / 0.5239 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.1115, allocations: 75.28 kB / 0.524 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.335e-05/0.1116, allocations: 131.5 kB / 0.5241 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1116, allocations: 0 / 0.5241 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.516e-05/0.1117, allocations: 29.7 kB / 0.5241 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.1118, allocations: 168.3 kB / 0.5243 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.5e-05/0.1118, allocations: 89.86 kB / 0.5244 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1118, allocations: 25.7 kB / 0.5244 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.1119, allocations: 80.14 kB / 0.5245 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.1119, allocations: 4 kB / 0.5245 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.1119, allocations: 13.72 kB / 0.5245 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.112, allocations: 310.8 kB / 0.5248 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.112, allocations: 4 kB / 0.5248 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.112, allocations: 0 / 0.5248 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.1121, allocations: 79.22 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.105e-05/0.1121, allocations: 79.28 kB / 0.5249 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.606e-05/0.1122, allocations: 33.62 kB / 0.525 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.1122, allocations: 83.28 kB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.1123, allocations: 79.22 kB / 0.5251 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.1123, allocations: 154.6 kB / 0.5253 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.067e-05/0.1124, allocations: 83.25 kB / 0.5253 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.43e-05/0.1124, allocations: 150.6 kB / 0.5255 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.1125, allocations: 79.28 kB / 0.5256 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.1126, allocations: 83.27 kB / 0.5256 GB, free: 14.13 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.0001309/0.1127, allocations: 264.4 kB / 0.5259 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.1128, allocations: 112.9 kB / 0.526 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.1128, allocations: 107.9 kB / 0.5261 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.947e-05/0.1129, allocations: 180.3 kB / 0.5263 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/0.113, allocations: 176.3 kB / 0.5264 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.619e-05/0.113, allocations: 184.2 kB / 0.5266 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1133, allocations: 376.3 kB / 0.527 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.1133, allocations: 108.9 kB / 0.5271 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.1134, allocations: 101 kB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.271e-05/0.1134, allocations: 188.2 kB / 0.5274 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.1135, allocations: 184.2 kB / 0.5275 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-05/0.1136, allocations: 176.3 kB / 0.5277 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.424e-05/0.1137, allocations: 188.2 kB / 0.5279 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.1138, allocations: 299.8 kB / 0.5282 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1139, allocations: 112.9 kB / 0.5283 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.114, allocations: 184.3 kB / 0.5284 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.1141, allocations: 104.9 kB / 0.5285 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.1141, allocations: 188.2 kB / 0.5287 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.1142, allocations: 101 kB / 0.5288 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1142, allocations: 79.69 kB / 0.5289 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1142, allocations: 0 / 0.5289 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000484/0.1147, allocations: 131.6 kB / 0.529 GB, free: 10.46 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.000778/0.1155, allocations: 416.6 kB / 0.5294 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.882e-05/0.1155, allocations: 8.047 kB / 0.5294 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1155, allocations: 0 / 0.5294 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-06/0.1155, allocations: 0 / 0.5294 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1159, allocations: 467.6 kB / 0.5299 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.116, allocations: 181.9 kB / 0.53 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1163, allocations: 0.669 MB / 0.5307 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.1163, allocations: 15.31 kB / 0.5307 GB, free: 8.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1163, allocations: 0 / 0.5307 GB, free: 8.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005079/0.1214, allocations: 2.713 MB / 0.5334 GB, free: 5.949 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: 7.712258211104199] Failed to read output from testmodel.py, exit status != 0: 0.12951539806090295 0.285266448 0.17300114800000002 Calling exit ...