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.0012/0.0012, allocations: 103.5 kB / 17.04 MB, free: 6.035 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.001229/0.00123, allocations: 196.1 kB / 17.97 MB, free: 5.113 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.549/1.549, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2137/0.2137, allocations: 43.51 MB / 314.7 MB, free: 484 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.00181/0.001811, allocations: 65.94 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1085, allocations: 57.78 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001814/0.1103, allocations: 0.4932 MB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.113, allocations: 2.22 MB / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-06/0.113, allocations: 0 / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.358e-06/0.113, allocations: 0 / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.293e-06/0.1131, allocations: 0 / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.1149, allocations: 0.6193 MB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.1149, allocations: 12 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.705e-05/0.1149, allocations: 0 / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.115, allocations: 15.91 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.015e-05/0.1151, allocations: 4 kB / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-06/0.1151, allocations: 0 / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.1158, allocations: 0.6359 MB / 446 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.1158, allocations: 0 / 446 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.1158, allocations: 3.938 kB / 446 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.1162, allocations: 435.4 kB / 446.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1163, allocations: 3.938 kB / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1163, allocations: 0 / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1163, allocations: 0 / 446.4 MB, free: 1.715 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.0002445/0.1165, allocations: 417.3 kB / 446.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1166, allocations: 15.89 kB / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1166, allocations: 76.22 kB / 446.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.881e-05/0.1167, allocations: 235.7 kB / 447.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1167, allocations: 154.9 kB / 447.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1167, allocations: 158.6 kB / 447.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.367e-05/0.1168, allocations: 109 kB / 447.5 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1168, allocations: 75.28 kB / 447.6 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1168, allocations: 158.5 kB / 447.8 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.1168, allocations: 154.6 kB / 447.9 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.544e-05/0.1169, allocations: 150.6 kB / 448.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1171, allocations: 442 kB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.1172, allocations: 173.1 kB / 448.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.1173, allocations: 84.08 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1173, allocations: 79.28 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.1174, allocations: 131.5 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.1174, allocations: 0 / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.1174, allocations: 33.64 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.1175, allocations: 160.3 kB / 449.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.18e-05/0.1175, allocations: 89.86 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1176, allocations: 29.7 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.1176, allocations: 84.14 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.1176, allocations: 0 / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1176, allocations: 13.72 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1178, allocations: 314.8 kB / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.1178, allocations: 0 / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.1178, allocations: 0 / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.1179, allocations: 75.28 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/0.1179, allocations: 87.25 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.201e-05/0.118, allocations: 33.62 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.118, allocations: 83.28 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.1181, allocations: 79.3 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.605e-05/0.1182, allocations: 158.6 kB / 450.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.1183, allocations: 79.22 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/0.1183, allocations: 150.6 kB / 450.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.1184, allocations: 87.28 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1185, allocations: 79.22 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.0001151/0.1186, allocations: 269.4 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1187, allocations: 104.9 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.1187, allocations: 108 kB / 451 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/0.1188, allocations: 184.3 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.367e-05/0.1189, allocations: 180.3 kB / 451.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/0.1189, allocations: 184.2 kB / 451.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1191, allocations: 397.2 kB / 451.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.317e-05/0.1192, allocations: 108.9 kB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.1192, allocations: 101 kB / 452.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.149e-05/0.1193, allocations: 192.2 kB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.1194, allocations: 184.3 kB / 452.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.815e-05/0.1194, allocations: 176.3 kB / 452.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.436e-05/0.1195, allocations: 184.2 kB / 452.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1196, allocations: 311.8 kB / 453.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1197, allocations: 182 kB / 453.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.1198, allocations: 180.3 kB / 453.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1198, allocations: 104.9 kB / 453.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.1199, allocations: 184.2 kB / 453.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.1199, allocations: 112.9 kB / 453.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.12, allocations: 79.28 kB / 454 MB, free: 9.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.12, allocations: 0 / 454 MB, free: 9.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.1205, allocations: 128 kB / 454.1 MB, free: 9.496 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.0007744/0.1212, allocations: 412 kB / 454.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.277e-05/0.1213, allocations: 4 kB / 454.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1213, allocations: 0 / 454.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.1213, allocations: 3.984 kB / 454.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.1217, allocations: 463.6 kB / 455 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001547/0.1219, allocations: 148.2 kB / 455.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1221, allocations: 0.6729 MB / 455.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.662e-06/0.1221, allocations: 0 / 455.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.1222, allocations: 7.438 kB / 455.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1222, allocations: 0 / 455.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Templates: time 0.00672/0.1289, allocations: 3.066 MB / 458.9 MB, free: 4.699 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 cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)