Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 179.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007724/0.0007725, allocations: 82.36 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3595/0.3595, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005296/0.1188, allocations: 224.3 kB / 490.4 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1217, allocations: 2.126 MB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-06/0.1217, allocations: 0 / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.067e-06/0.1217, allocations: 0 / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.092e-06/0.1217, allocations: 0 / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1237, allocations: 0.5108 MB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.146e-05/0.1237, allocations: 4 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.735e-05/0.1238, allocations: 3.984 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.1238, allocations: 19.92 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.1239, allocations: 4 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.1239, allocations: 0 / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.1248, allocations: 0.5618 MB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-06/0.1248, allocations: 0 / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.1249, allocations: 25.7 kB / 493.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1253, allocations: 287.6 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1253, allocations: 4 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1253, allocations: 0 / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1254, allocations: 0 / 494 MB, free: 7.434 MB / 378.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.0003724/0.1257, allocations: 425 kB / 494.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1258, allocations: 8.031 kB / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.1258, allocations: 79.23 kB / 494.5 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.1259, allocations: 238.4 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.126, allocations: 150.6 kB / 494.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.1261, allocations: 158.5 kB / 495 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.798e-05/0.1261, allocations: 109 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.1261, allocations: 75.28 kB / 495.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.1262, allocations: 150.6 kB / 495.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.1263, allocations: 154.5 kB / 495.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.1264, allocations: 162.5 kB / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.1267, allocations: 438 kB / 496.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.1268, allocations: 173.1 kB / 496.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.1268, allocations: 80.14 kB / 496.3 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1268, allocations: 79.28 kB / 496.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/0.1269, allocations: 135.5 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1269, allocations: 0 / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.171e-05/0.127, allocations: 33.62 kB / 496.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.1271, allocations: 152.4 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.1271, allocations: 89.86 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1271, allocations: 29.7 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.1272, allocations: 88.14 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.1272, allocations: 3.984 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1272, allocations: 0 / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1273, allocations: 314.8 kB / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-06/0.1273, allocations: 3.938 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.1273, allocations: 4 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.1274, allocations: 75.28 kB / 497.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.1274, allocations: 75.28 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.174e-05/0.1274, allocations: 29.7 kB / 497.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.1275, allocations: 83.31 kB / 497.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.1275, allocations: 83.2 kB / 497.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.107e-05/0.1276, allocations: 150.6 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.004e-05/0.1276, allocations: 87.2 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-05/0.1277, allocations: 154.6 kB / 498 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.1278, allocations: 75.28 kB / 498 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1278, allocations: 83.38 kB / 498.1 MB, free: 3.039 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1279, allocations: 268.3 kB / 498.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.128, allocations: 113 kB / 498.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.128, allocations: 112.1 kB / 498.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/0.1281, allocations: 180.3 kB / 498.8 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.709e-05/0.1281, allocations: 184.2 kB / 499 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.1282, allocations: 180.3 kB / 499.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1284, allocations: 401.2 kB / 499.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-05/0.1284, allocations: 104.9 kB / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.1285, allocations: 101 kB / 499.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/0.1285, allocations: 188.2 kB / 499.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.1286, allocations: 184.2 kB / 0.4884 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.107e-05/0.1287, allocations: 176.3 kB / 0.4885 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/0.1287, allocations: 180.2 kB / 0.4887 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1289, allocations: 307.7 kB / 0.489 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.129, allocations: 194 kB / 0.4892 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.1952/0.3241, allocations: 180.3 kB / 0.4894 GB, free: 43.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.3243, allocations: 105.6 kB / 0.4895 GB, free: 43.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3243, allocations: 182.4 kB / 0.4896 GB, free: 43.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3243, allocations: 106.1 kB / 0.4897 GB, free: 43.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.3244, allocations: 75.28 kB / 0.4898 GB, free: 43.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3244, allocations: 2.844 kB / 0.4898 GB, free: 43.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006929/0.3251, allocations: 127.2 kB / 0.4899 GB, free: 43.2 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009414/0.326, allocations: 404.9 kB / 0.4903 GB, free: 43.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.3261, allocations: 2.688 kB / 0.4903 GB, free: 43.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3261, allocations: 1.688 kB / 0.4903 GB, free: 43.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3261, allocations: 1.094 kB / 0.4903 GB, free: 43.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3264, allocations: 0.5316 MB / 0.4908 GB, free: 42.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001336/0.3265, allocations: 172.8 kB / 0.491 GB, free: 42.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3267, allocations: 0.6708 MB / 0.4917 GB, free: 41.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.3267, allocations: 8.562 kB / 0.4917 GB, free: 41.62 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3267, allocations: 0 / 0.4917 GB, free: 41.62 MB / 378.7 MB Notification: Performance of Templates: time 0.007062/0.3338, allocations: 2.714 MB / 0.4943 GB, free: 41.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestNonlinear.pipe 2>&1)