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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2094/0.2094, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 69.97 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1168, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00153/0.1184, allocations: 0.4889 MB / 442.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1208, allocations: 2.224 MB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-06/0.1208, allocations: 0 / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.458e-06/0.1208, allocations: 0 / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.1208, allocations: 0 / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1225, allocations: 0.6114 MB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.018e-05/0.1226, allocations: 7.984 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.1226, allocations: 0 / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.1227, allocations: 19.92 kB / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.509e-05/0.1228, allocations: 8 kB / 445.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-06/0.1228, allocations: 3.984 kB / 445.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007748/0.1236, allocations: 0.6359 MB / 446 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-06/0.1236, allocations: 0 / 446 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.1236, allocations: 4 kB / 446 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.124, allocations: 423.4 kB / 446.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.124, allocations: 0 / 446.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1241, allocations: 4 kB / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1241, allocations: 3.938 kB / 446.4 MB, free: 1.711 MB / 318.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.0002961/0.1244, allocations: 421.3 kB / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1244, allocations: 11.89 kB / 446.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1245, allocations: 76.22 kB / 446.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.267e-05/0.1245, allocations: 239.7 kB / 447.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1246, allocations: 158.9 kB / 447.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1246, allocations: 162.7 kB / 447.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.822e-05/0.1247, allocations: 101 kB / 447.5 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1247, allocations: 75.28 kB / 447.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.1247, allocations: 154.5 kB / 447.8 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.1248, allocations: 150.6 kB / 447.9 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.286e-05/0.1248, allocations: 158.6 kB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.1251, allocations: 445.9 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.1252, allocations: 165.1 kB / 448.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.1253, allocations: 84.08 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1253, allocations: 75.28 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.213e-05/0.1254, allocations: 139.5 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 3.827e-06/0.1254, allocations: 0 / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.007e-05/0.1255, allocations: 33.58 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.1256, allocations: 156.4 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.1256, allocations: 93.86 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1256, allocations: 29.7 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1257, allocations: 80.14 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.1257, allocations: 4 kB / 449.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1257, allocations: 13.72 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1258, allocations: 310.8 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.1258, allocations: 0 / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.1259, allocations: 4 kB / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.1259, allocations: 75.28 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-05/0.1259, allocations: 75.28 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.925e-05/0.126, allocations: 37.56 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.1261, allocations: 88.56 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-05/0.1261, allocations: 75.36 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.706e-05/0.1262, allocations: 158.6 kB / 450.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.1262, allocations: 83.22 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.821e-05/0.1263, allocations: 154.6 kB / 450.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.1263, allocations: 79.22 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.1264, allocations: 79.28 kB / 450.5 MB, free: 13.3 MB / 334.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.0001283/0.1265, allocations: 269.4 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1266, allocations: 104.9 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.1267, allocations: 116 kB / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/0.1267, allocations: 176.3 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-05/0.1268, allocations: 188.1 kB / 451.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/0.1269, allocations: 180.2 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1271, allocations: 397.2 kB / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/0.1271, allocations: 112.9 kB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.1272, allocations: 101 kB / 452.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-05/0.1272, allocations: 188.2 kB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.1273, allocations: 184.3 kB / 452.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.948e-05/0.1274, allocations: 176.3 kB / 452.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.37e-05/0.1274, allocations: 188.2 kB / 452.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1276, allocations: 307.8 kB / 453.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.1277, allocations: 190 kB / 453.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.1277, allocations: 176.3 kB / 453.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1278, allocations: 112.9 kB / 453.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.1279, allocations: 184.2 kB / 453.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.128, allocations: 104.9 kB / 453.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.128, allocations: 75.28 kB / 454 MB, free: 9.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.128, allocations: 4 kB / 454 MB, free: 9.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.1285, allocations: 128 kB / 454.1 MB, free: 9.488 MB / 334.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.000748/0.1293, allocations: 403.8 kB / 454.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.1293, allocations: 8 kB / 454.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1293, allocations: 4 kB / 454.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1293, allocations: 0 / 454.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1297, allocations: 471.5 kB / 455 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.1299, allocations: 144.3 kB / 455.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1301, allocations: 0.669 MB / 455.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.181e-06/0.1302, allocations: 4 kB / 455.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1302, allocations: 11.44 kB / 455.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1302, allocations: 0 / 455.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of Templates: time 0.007253/0.1374, allocations: 3.068 MB / 458.9 MB, free: 4.684 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (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 -s gbode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)