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.001495/0.001495, allocations: 76.38 kB / 19.93 MB, free: 1.781 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.00159/0.00159, allocations: 166.5 kB / 23.21 MB, free: 4.906 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.516/1.516, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.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.2334/0.2334, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.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: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.002e-05/4.24e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001758/0.001801, allocations: 0.4948 MB / 407.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.006097, allocations: 2.126 MB / 410 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-06/0.006103, allocations: 0 / 410 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-06/0.006108, allocations: 0 / 410 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 1.623e-06/0.006109, allocations: 0 / 410 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.008518, allocations: 0.6222 MB / 410.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.008574, allocations: 8 kB / 410.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.008612, allocations: 0 / 410.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.008722, allocations: 19.92 kB / 410.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.008785, allocations: 7.984 kB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.008794, allocations: 0 / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.009967, allocations: 0.6084 MB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.009977, allocations: 0 / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.01001, allocations: 0 / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.01092, allocations: 0.538 MB / 411.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01093, allocations: 4 kB / 411.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01093, allocations: 0 / 411.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01094, allocations: 0 / 411.8 MB, free: 14.6 MB / 350.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.0005395/0.01148, allocations: 355.3 kB / 412.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.01153, allocations: 8.031 kB / 412.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.01162, allocations: 76.22 kB / 412.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.01178, allocations: 193 kB / 412.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.01187, allocations: 150.9 kB / 412.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.01195, allocations: 150.9 kB / 412.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.01212, allocations: 109.5 kB / 412.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.01217, allocations: 79.22 kB / 412.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.01226, allocations: 154.6 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/0.01234, allocations: 154.6 kB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.01243, allocations: 150.6 kB / 413.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.01277, allocations: 397.5 kB / 413.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.0129, allocations: 169.1 kB / 413.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.01296, allocations: 80.14 kB / 413.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.01301, allocations: 75.28 kB / 414 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.01313, allocations: 135.5 kB / 414.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.01313, allocations: 0 / 414.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.786e-05/0.01323, allocations: 37.58 kB / 414.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.01333, allocations: 160.4 kB / 414.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.01339, allocations: 89.86 kB / 414.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.0134, allocations: 25.7 kB / 414.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.01345, allocations: 84.14 kB / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.01345, allocations: 0 / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.01348, allocations: 13.72 kB / 414.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.01365, allocations: 310.8 kB / 414.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-06/0.01366, allocations: 3.938 kB / 414.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.01371, allocations: 29.7 kB / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.01375, allocations: 79.28 kB / 415 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-05/0.01379, allocations: 75.28 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.324e-05/0.01387, allocations: 41.66 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.01392, allocations: 79.28 kB / 415.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/0.01396, allocations: 75.28 kB / 415.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.01407, allocations: 158.5 kB / 415.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.0141, allocations: 79.22 kB / 415.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.999e-05/0.01418, allocations: 154.5 kB / 415.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.01427, allocations: 83.22 kB / 415.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.01432, allocations: 83.28 kB / 415.8 MB, free: 10.37 MB / 350.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.0001728/0.01449, allocations: 264.4 kB / 416 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.01456, allocations: 101 kB / 416.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.01464, allocations: 123.7 kB / 416.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-05/0.01473, allocations: 180.2 kB / 416.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.671e-05/0.01482, allocations: 180.2 kB / 416.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/0.01492, allocations: 192.2 kB / 416.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.0152, allocations: 348.8 kB / 417.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.708e-05/0.01526, allocations: 105 kB / 417.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.01532, allocations: 104.9 kB / 417.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.01542, allocations: 184.2 kB / 417.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.01553, allocations: 180.3 kB / 417.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001109/0.01564, allocations: 184.2 kB / 417.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001196/0.01576, allocations: 180.2 kB / 418 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01597, allocations: 311.8 kB / 418.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.01603, allocations: 101 kB / 418.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.01617, allocations: 188.2 kB / 418.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.01629, allocations: 101 kB / 418.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.01641, allocations: 184.6 kB / 418.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.01647, allocations: 112.9 kB / 419 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.01653, allocations: 75.28 kB / 419.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01653, allocations: 0 / 419.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006339/0.01716, allocations: 127.7 kB / 419.2 MB, free: 6.73 MB / 350.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.001137/0.0183, allocations: 447.1 kB / 419.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.193e-05/0.01837, allocations: 3.984 kB / 419.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01838, allocations: 0 / 419.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.01838, allocations: 0 / 419.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.01885, allocations: 467.6 kB / 420.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.01908, allocations: 152.2 kB / 420.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.01916, allocations: 59.3 kB / 420.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.487e-06/0.01917, allocations: 0 / 420.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.0192, allocations: 12.5 kB / 420.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.0192, allocations: 0 / 420.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.008995/0.02819, allocations: 3.122 MB / 423.5 MB, free: 2.453 MB / 350.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: 5.346504531800747] Failed to read output from testmodel.py, exit status != 0: 0.03854871168732643 0.053987150000000005 0.039881283000000003 Calling exit ...