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.0007367/0.0007367, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007576/0.0007576, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.7792/0.7792, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 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.1188/0.1188, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.83e-05, allocations: 5.516 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0008361/0.0008544, allocations: 0.5028 MB / 408.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.00292, allocations: 2.119 MB / 410.7 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-06/0.002924, allocations: 3.938 kB / 410.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-06/0.002928, allocations: 0 / 410.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.002929, allocations: 0 / 410.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.004089, allocations: 0.6192 MB / 411.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.004124, allocations: 4 kB / 411.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.39e-05/0.004148, allocations: 7.984 kB / 411.3 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.004211, allocations: 11.98 kB / 411.3 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.004246, allocations: 11.98 kB / 411.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.004251, allocations: 0 / 411.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.004842, allocations: 0.6084 MB / 412 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-06/0.004847, allocations: 0 / 412 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.004863, allocations: 4 kB / 412 MB, free: 9.125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.005582, allocations: 0.534 MB / 412.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.005585, allocations: 4 kB / 412.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005586, allocations: 4 kB / 412.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.005589, allocations: 0 / 412.5 MB, free: 8.582 MB / 346.7 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.0002647/0.005854, allocations: 351.3 kB / 412.9 MB, free: 8.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.005887, allocations: 12.03 kB / 412.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.005934, allocations: 76.22 kB / 412.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.331e-05/0.005998, allocations: 177.1 kB / 413.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.006035, allocations: 162.9 kB / 413.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.006065, allocations: 150.9 kB / 413.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.502e-05/0.00612, allocations: 109.5 kB / 413.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.006142, allocations: 83.16 kB / 413.6 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.006184, allocations: 154.6 kB / 413.8 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.006216, allocations: 154.6 kB / 413.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.006251, allocations: 150.6 kB / 414.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.006419, allocations: 393.6 kB / 414.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.006484, allocations: 169.1 kB / 414.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.006509, allocations: 84.08 kB / 414.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.006531, allocations: 79.28 kB / 414.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.006579, allocations: 131.5 kB / 414.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.00658, allocations: 0 / 414.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.609e-05/0.006636, allocations: 29.64 kB / 414.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.006688, allocations: 160.4 kB / 415.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.389e-05/0.006711, allocations: 93.86 kB / 415.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.006721, allocations: 29.7 kB / 415.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.006741, allocations: 80.14 kB / 415.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.006742, allocations: 0 / 415.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.006759, allocations: 13.72 kB / 415.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.006832, allocations: 318.8 kB / 415.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.006837, allocations: 3.938 kB / 415.6 MB, free: 5.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.00686, allocations: 25.7 kB / 415.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.00688, allocations: 75.28 kB / 415.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.006895, allocations: 79.28 kB / 415.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.171e-05/0.006926, allocations: 29.69 kB / 415.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.006953, allocations: 89.97 kB / 415.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.006969, allocations: 75.28 kB / 416 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.527e-05/0.007015, allocations: 158.4 kB / 416.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-05/0.007035, allocations: 87.28 kB / 416.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/0.007068, allocations: 154.5 kB / 416.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.007108, allocations: 75.28 kB / 416.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.007124, allocations: 79.28 kB / 416.5 MB, free: 4.363 MB / 346.7 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 7.111e-05/0.007195, allocations: 264.3 kB / 416.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.007227, allocations: 105 kB / 416.9 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.007255, allocations: 111.8 kB / 417 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/0.007294, allocations: 196.1 kB / 417.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/0.007334, allocations: 176.3 kB / 417.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-05/0.007371, allocations: 184.2 kB / 417.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.007479, allocations: 348.9 kB / 417.9 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.007501, allocations: 105 kB / 418 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.007523, allocations: 104.9 kB / 418.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.783e-05/0.00756, allocations: 184.2 kB / 418.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.007599, allocations: 180.2 kB / 418.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.531e-05/0.007634, allocations: 184.2 kB / 418.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.511e-05/0.007669, allocations: 180.2 kB / 418.8 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.3e-05/0.007752, allocations: 311.8 kB / 419.1 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.007778, allocations: 108.9 kB / 419.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.007821, allocations: 176.3 kB / 419.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.007865, allocations: 105.4 kB / 419.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002966/0.008162, allocations: 188.1 kB / 419.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.008185, allocations: 109 kB / 419.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.008205, allocations: 79.33 kB / 419.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008205, allocations: 4 kB / 419.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000292/0.008497, allocations: 123.7 kB / 420 MB, free: 0.7227 MB / 346.7 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.0005214/0.009018, allocations: 460.3 kB / 420.4 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.221e-05/0.00906, allocations: 11.92 kB / 420.4 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009062, allocations: 0 / 420.4 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.009063, allocations: 0 / 420.4 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.009275, allocations: 455.7 kB / 420.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001183/0.009393, allocations: 173.9 kB / 421 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.009423, allocations: 59.36 kB / 421.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.009435, allocations: 8.5 kB / 421.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009435, allocations: 0 / 421.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Templates: time 0.002981/0.01242, allocations: 2.749 MB / 423.9 MB, free: 12.77 MB / 362.7 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: 5.644848305732012] Failed to read output from testmodel.py, exit status != 0: 0.016629423946142197 0.16629042200000002 0.01741503 Calling exit ...