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.001645/0.001645, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001893/0.001893, allocations: 197.3 kB / 18.01 MB, free: 5.094 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.33/1.33, allocations: 205.1 MB / 223.9 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.1992/0.1992, allocations: 43.52 MB / 314.8 MB, free: 472 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.001595/0.001595, allocations: 63.91 kB / 442.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1107, allocations: 57.79 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001798/0.1125, allocations: 0.5015 MB / 0.489 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.1159, allocations: 2.227 MB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-06/0.116, allocations: 0 / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-06/0.116, allocations: 0 / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-06/0.116, allocations: 0 / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.1183, allocations: 0.6117 MB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.1183, allocations: 8 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.1183, allocations: 0 / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.1184, allocations: 19.92 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.1185, allocations: 7.984 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.1185, allocations: 0 / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1196, allocations: 0.632 MB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.1196, allocations: 3.938 kB / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.1196, allocations: 4 kB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.1204, allocations: 423.4 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1204, allocations: 0 / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1204, allocations: 0 / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1204, allocations: 3.938 kB / 0.4928 GB, free: 7.398 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.0004652/0.1209, allocations: 425.2 kB / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.121, allocations: 11.89 kB / 0.4933 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.121, allocations: 80.22 kB / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1211, allocations: 235.7 kB / 0.4936 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.1212, allocations: 154.9 kB / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.1213, allocations: 158.6 kB / 0.4939 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.1214, allocations: 101 kB / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.1214, allocations: 79.28 kB / 0.494 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.1215, allocations: 150.6 kB / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/0.1215, allocations: 158.6 kB / 0.4943 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.1216, allocations: 154.5 kB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1219, allocations: 441.9 kB / 0.4949 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.122, allocations: 173.1 kB / 0.4951 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.122, allocations: 88.08 kB / 0.4951 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1221, allocations: 79.28 kB / 0.4952 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.024e-05/0.1222, allocations: 131.5 kB / 0.4953 GB, free: 4.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.1222, allocations: 0 / 0.4953 GB, free: 4.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.627e-05/0.1223, allocations: 33.64 kB / 0.4954 GB, free: 4.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.1223, allocations: 152.4 kB / 0.4955 GB, free: 4.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.031e-05/0.1224, allocations: 97.84 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1224, allocations: 33.64 kB / 0.4956 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.1225, allocations: 80.14 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1225, allocations: 0 / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.1225, allocations: 17.72 kB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1226, allocations: 310.8 kB / 0.496 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.1226, allocations: 0 / 0.496 GB, free: 3.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.1226, allocations: 8.047 kB / 0.496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.1227, allocations: 75.28 kB / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/0.1227, allocations: 79.31 kB / 0.4962 GB, free: 3.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.155e-05/0.1228, allocations: 33.64 kB / 0.4962 GB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1228, allocations: 83.27 kB / 0.4963 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.1229, allocations: 79.22 kB / 0.4964 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.165e-05/0.1229, allocations: 150.6 kB / 0.4965 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.123, allocations: 83.22 kB / 0.4966 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-05/0.123, allocations: 154.6 kB / 0.4968 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.1231, allocations: 79.28 kB / 0.4968 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.1231, allocations: 83.22 kB / 0.4969 GB, free: 2.977 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.0001143/0.1233, allocations: 260.3 kB / 0.4972 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.1233, allocations: 112.9 kB / 0.4973 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1235, allocations: 108 kB / 0.4974 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.175e-05/0.1235, allocations: 184.3 kB / 0.4975 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-05/0.1236, allocations: 180.2 kB / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/0.1237, allocations: 180.3 kB / 0.4979 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.1239, allocations: 397.2 kB / 0.4983 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/0.124, allocations: 108.9 kB / 0.4984 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.124, allocations: 109 kB / 0.4985 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.358e-05/0.1241, allocations: 188.2 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.1241, allocations: 184.2 kB / 0.4988 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.359e-05/0.1242, allocations: 180.3 kB / 0.499 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.063e-05/0.1243, allocations: 184.2 kB / 0.4992 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1244, allocations: 311.8 kB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.1245, allocations: 186 kB / 0.4996 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.1246, allocations: 180.2 kB / 0.4998 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1247, allocations: 108.9 kB / 0.4999 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1247, allocations: 180.3 kB / 0.5001 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.1248, allocations: 108.9 kB / 0.5002 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1248, allocations: 83.22 kB / 0.5003 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 0.5003 GB, free: 15.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005074/0.1253, allocations: 128 kB / 0.5004 GB, free: 15.16 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.0008534/0.1262, allocations: 408.7 kB / 0.5008 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 4.954e-05/0.1263, allocations: 0.5156 kB / 0.5008 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1263, allocations: 0 / 0.5008 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.1263, allocations: 0 / 0.5008 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1266, allocations: 467.6 kB / 0.5012 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.1268, allocations: 185.8 kB / 0.5014 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1271, allocations: 0.669 MB / 0.5021 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.1271, allocations: 11.44 kB / 0.5021 GB, free: 13.38 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1271, allocations: 0 / 0.5021 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Templates: time 0.00541/0.1325, allocations: 2.717 MB / 0.5047 GB, free: 10.66 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)