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.001157/0.001157, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001424/0.001424, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 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.9605/0.9605, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1559/0.1559, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.573e-06/1.573e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.201e-05, allocations: 6.25 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.003597/0.003629, allocations: 0.5163 MB / 348.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.005809, allocations: 2.142 MB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-06/0.005813, allocations: 4 kB / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.005824, allocations: 0 / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.005825, allocations: 0 / 350.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.007409, allocations: 0.5996 MB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.007451, allocations: 11.98 kB / 351.4 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.436e-05/0.007475, allocations: 4 kB / 351.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.007547, allocations: 11.92 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.007586, allocations: 4 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.007591, allocations: 4 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.008371, allocations: 0.6044 MB / 352 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-06/0.008377, allocations: 0 / 352 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.008393, allocations: 4 kB / 352 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.008958, allocations: 0.534 MB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.008961, allocations: 0 / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008962, allocations: 0 / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.008966, allocations: 3.938 kB / 352.5 MB, free: 4.734 MB / 282.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.0002471/0.009213, allocations: 457.3 kB / 353 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.009248, allocations: 8.031 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.009285, allocations: 124.1 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.11e-05/0.009326, allocations: 231.8 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.009348, allocations: 242.8 kB / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.009366, allocations: 238.8 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.085e-05/0.009407, allocations: 149.5 kB / 354 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.00942, allocations: 123.1 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.009447, allocations: 238.4 kB / 354.3 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.009471, allocations: 242.3 kB / 354.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.009498, allocations: 246.4 kB / 354.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.009637, allocations: 0.5452 MB / 355.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.422e-05/0.009681, allocations: 265.4 kB / 355.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.009695, allocations: 126.9 kB / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.009709, allocations: 127.2 kB / 355.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.009749, allocations: 186.2 kB / 356 MB, free: 1.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.00975, allocations: 0 / 356 MB, free: 1.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.869e-05/0.009809, allocations: 25.7 kB / 356.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.009837, allocations: 200.2 kB / 356.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.196e-05/0.009858, allocations: 142.2 kB / 356.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.009866, allocations: 33.64 kB / 356.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.00988, allocations: 130.9 kB / 356.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-07/0.009881, allocations: 0 / 356.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.009904, allocations: 19.38 kB / 356.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.009943, allocations: 496.1 kB / 357.1 MB, free: 12 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-06/0.009946, allocations: 0 / 357.1 MB, free: 12 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.009992, allocations: 29.7 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.01003, allocations: 123.1 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.01006, allocations: 123.2 kB / 357.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.045e-05/0.01011, allocations: 29.7 kB / 357.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.01015, allocations: 123.2 kB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.01018, allocations: 123.2 kB / 357.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.753e-05/0.01026, allocations: 250.3 kB / 357.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.351e-05/0.01029, allocations: 123.2 kB / 358 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.899e-05/0.01035, allocations: 250.2 kB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.01042, allocations: 123.2 kB / 358.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.01045, allocations: 123.2 kB / 358.4 MB, free: 14.6 MB / 298.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 0.0001252/0.01057, allocations: 395 kB / 358.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.01063, allocations: 148.8 kB / 359 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.01069, allocations: 151.9 kB / 359.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.01076, allocations: 276 kB / 359.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.346e-05/0.01083, allocations: 276 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/0.0109, allocations: 268.1 kB / 359.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.0111, allocations: 476.5 kB / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/0.01114, allocations: 148.9 kB / 360.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.01118, allocations: 152.8 kB / 360.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.01125, allocations: 264.1 kB / 360.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.01132, allocations: 272.1 kB / 361.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.671e-05/0.01138, allocations: 268.3 kB / 361.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/0.01145, allocations: 268.1 kB / 361.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.0116, allocations: 451.9 kB / 362.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.01165, allocations: 152.8 kB / 362.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.01173, allocations: 272.1 kB / 362.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.01181, allocations: 148.9 kB / 362.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.01188, allocations: 272 kB / 363 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.01192, allocations: 148.9 kB / 363.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.01195, allocations: 123.1 kB / 363.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01195, allocations: 0 / 363.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004459/0.0124, allocations: 135.5 kB / 363.4 MB, free: 9.453 MB / 298.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.000662/0.01306, allocations: 495.7 kB / 363.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.937e-05/0.0131, allocations: 7.938 kB / 363.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0131, allocations: 0 / 363.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.0131, allocations: 0 / 363.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01342, allocations: 0.7062 MB / 364.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001251/0.01355, allocations: 202.1 kB / 364.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.01358, allocations: 51.36 kB / 364.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.01359, allocations: 0 / 364.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.01364, allocations: 82.19 kB / 364.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01364, allocations: 0 / 364.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of Templates: time 0.005869/0.01951, allocations: 3.584 MB / 368.5 MB, free: 4.301 MB / 298.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=240 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.265657682903111]