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.00121/0.00121, allocations: 103.7 kB / 17.08 MB, free: 5.988 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.001347/0.001347, allocations: 192.2 kB / 18.01 MB, free: 5.07 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.451/1.451, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2079/0.2079, allocations: 43.52 MB / 314.8 MB, free: 468 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.001706/0.001706, allocations: 71.89 kB / 442.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1145, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002535/0.1171, allocations: 0.4989 MB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.1209, allocations: 2.221 MB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-06/0.121, allocations: 0 / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.379e-06/0.121, allocations: 0 / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.047e-06/0.121, allocations: 4 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.1239, allocations: 0.6117 MB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.88e-05/0.1239, allocations: 8 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.124, allocations: 0 / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.1241, allocations: 19.92 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.1241, allocations: 7.984 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.1241, allocations: 0 / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1253, allocations: 0.632 MB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.1253, allocations: 3.938 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1253, allocations: 4 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.1262, allocations: 423.4 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1262, allocations: 0 / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1262, allocations: 0 / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1262, allocations: 7.938 kB / 0.4929 GB, free: 7.387 MB / 382.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.0005984/0.1268, allocations: 417.3 kB / 0.4933 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1269, allocations: 11.89 kB / 0.4933 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.127, allocations: 80.22 kB / 0.4933 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1271, allocations: 235.7 kB / 0.4936 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.1272, allocations: 154.9 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.1273, allocations: 162.6 kB / 0.4939 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/0.1273, allocations: 105 kB / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.61e-05/0.1274, allocations: 75.28 kB / 0.494 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.1275, allocations: 150.6 kB / 0.4942 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.1276, allocations: 158.5 kB / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.1276, allocations: 154.6 kB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.128, allocations: 445.9 kB / 0.4949 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.1281, allocations: 169.1 kB / 0.4951 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.1281, allocations: 88.08 kB / 0.4952 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1282, allocations: 75.28 kB / 0.4952 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/0.1282, allocations: 135.5 kB / 0.4954 GB, free: 4.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.1283, allocations: 0 / 0.4954 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.574e-05/0.1283, allocations: 37.62 kB / 0.4954 GB, free: 4.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1284, allocations: 77.11 kB / 0.4955 GB, free: 4.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.1284, allocations: 89.86 kB / 0.4956 GB, free: 4.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1285, allocations: 41.64 kB / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.1285, allocations: 80.14 kB / 0.4957 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1285, allocations: 0 / 0.4957 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1286, allocations: 13.72 kB / 0.4957 GB, free: 4.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1287, allocations: 310.8 kB / 0.496 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-06/0.1287, allocations: 0 / 0.496 GB, free: 3.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.1288, allocations: 4.047 kB / 0.496 GB, free: 3.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.1288, allocations: 79.28 kB / 0.4961 GB, free: 3.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.1288, allocations: 79.31 kB / 0.4961 GB, free: 3.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.961e-05/0.1289, allocations: 37.62 kB / 0.4962 GB, free: 3.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.1289, allocations: 79.28 kB / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.129, allocations: 79.22 kB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/0.129, allocations: 150.6 kB / 0.4965 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.467e-05/0.129, allocations: 87.22 kB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.394e-05/0.1291, allocations: 150.6 kB / 0.4967 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.1292, allocations: 79.28 kB / 0.4968 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1292, allocations: 87.2 kB / 0.4968 GB, free: 3.039 MB / 382.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.0001033/0.1293, allocations: 264.3 kB / 0.4971 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.1294, allocations: 108.9 kB / 0.4972 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1294, allocations: 112 kB / 0.4973 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.1295, allocations: 180.3 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/0.1295, allocations: 105 kB / 0.4976 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1296, allocations: 182 kB / 0.4978 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.1297, allocations: 180.3 kB / 0.4979 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.1298, allocations: 104.9 kB / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1298, allocations: 180.3 kB / 0.4982 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.898e-05/0.1299, allocations: 271.4 kB / 0.4985 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001566/0.1301, allocations: 375.1 kB / 0.4988 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.298e-05/0.1301, allocations: 108.9 kB / 0.4989 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.1301, allocations: 75.28 kB / 0.499 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.1301, allocations: 4 kB / 0.499 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1312, allocations: 327 kB / 0.4993 GB, free: 396 kB / 382.1 MB Notification: Performance of SimCode: time 0.0004094/0.1317, allocations: 0.9006 MB / 0.5002 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.007075/0.1388, allocations: 2.996 MB / 0.5031 GB, free: 12.44 MB / 398.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 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)