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.001663/0.001662, allocations: 120.4 kB / 17.09 MB, free: 5.992 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.001788/0.001788, allocations: 193.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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2308/0.2308, allocations: 43.53 MB / 314.8 MB, free: 460 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.001371/0.001371, allocations: 61.47 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001725/0.1132, allocations: 0.4978 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1163, allocations: 2.227 MB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-06/0.1163, allocations: 3.938 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.747e-06/0.1163, allocations: 0 / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.733e-06/0.1164, allocations: 0 / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.1186, allocations: 0.6079 MB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.1187, allocations: 12 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.1187, allocations: 0 / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.1188, allocations: 19.91 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.1189, allocations: 4 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.1189, allocations: 0 / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.12, allocations: 0.6359 MB / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.12, allocations: 0 / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1201, allocations: 7.984 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.1208, allocations: 423.4 kB / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1208, allocations: 0 / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.1208, allocations: 0 / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1208, allocations: 3.938 kB / 0.4928 GB, free: 7.363 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.0003971/0.1212, allocations: 421.3 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1213, allocations: 11.89 kB / 0.4933 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1213, allocations: 76.22 kB / 0.4933 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1214, allocations: 239.7 kB / 0.4936 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.1215, allocations: 162.9 kB / 0.4937 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1216, allocations: 154.7 kB / 0.4939 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.174e-05/0.1216, allocations: 101 kB / 0.494 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.1217, allocations: 79.27 kB / 0.494 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.1217, allocations: 150.6 kB / 0.4942 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.1218, allocations: 154.6 kB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.1219, allocations: 154.6 kB / 0.4945 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.1221, allocations: 445.9 kB / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.1222, allocations: 165.1 kB / 0.4951 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.1223, allocations: 88.08 kB / 0.4951 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1223, allocations: 75.28 kB / 0.4952 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.1224, allocations: 139.5 kB / 0.4953 GB, free: 4.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1224, allocations: 0 / 0.4953 GB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.518e-05/0.1225, allocations: 37.62 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.1226, allocations: 156.4 kB / 0.4955 GB, free: 4.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.448e-05/0.1226, allocations: 89.86 kB / 0.4956 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1226, allocations: 37.64 kB / 0.4957 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.1226, allocations: 80.14 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.1227, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1227, allocations: 13.72 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.1228, allocations: 310.8 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.1228, allocations: 0 / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.1228, allocations: 4.047 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.1229, allocations: 79.28 kB / 0.4961 GB, free: 3.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/0.1229, allocations: 79.31 kB / 0.4962 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.249e-05/0.123, allocations: 37.62 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.123, allocations: 83.22 kB / 0.4963 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.123, allocations: 75.28 kB / 0.4964 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.856e-05/0.1231, allocations: 154.6 kB / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.462e-05/0.1231, allocations: 83.22 kB / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.018e-05/0.1232, allocations: 150.6 kB / 0.4968 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.1232, allocations: 83.22 kB / 0.4968 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.1233, allocations: 75.28 kB / 0.4969 GB, free: 2.949 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.0001111/0.1234, allocations: 268.3 kB / 0.4972 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.1235, allocations: 108.9 kB / 0.4973 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1235, allocations: 112 kB / 0.4974 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.1236, allocations: 180.3 kB / 0.4975 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-05/0.1236, allocations: 180.2 kB / 0.4977 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.1237, allocations: 184.2 kB / 0.4979 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1239, allocations: 401.2 kB / 0.4983 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.1239, allocations: 108.9 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.124, allocations: 109 kB / 0.4985 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.324e-05/0.1241, allocations: 188.2 kB / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.1241, allocations: 180.3 kB / 0.4988 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.682e-05/0.1242, allocations: 176.3 kB / 0.499 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.084e-05/0.1242, allocations: 180.2 kB / 0.4992 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1244, allocations: 311.8 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.1245, allocations: 186 kB / 0.4996 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.1245, allocations: 176.3 kB / 0.4998 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.1246, allocations: 112.9 kB / 0.4999 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.1247, allocations: 180.2 kB / 0.5001 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.1247, allocations: 104.9 kB / 0.5002 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.135e-05/0.1248, allocations: 83.22 kB / 0.5003 GB, free: 15.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1248, allocations: 3.938 kB / 0.5003 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.1252, allocations: 128 kB / 0.5004 GB, free: 15.14 MB / 398.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.0008002/0.126, allocations: 408.9 kB / 0.5008 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.1261, allocations: 8.5 kB / 0.5008 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1261, allocations: 0 / 0.5008 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.1261, allocations: 0 / 0.5008 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1265, allocations: 459.6 kB / 0.5012 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.1267, allocations: 185.8 kB / 0.5014 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.127, allocations: 0.669 MB / 0.5021 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.1271, allocations: 7.438 kB / 0.5021 GB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1271, allocations: 0 / 0.5021 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Templates: time 0.00602/0.1331, allocations: 2.717 MB / 0.5047 GB, free: 10.64 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)