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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 104.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3092/0.3092, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009638/0.0009638, allocations: 55.92 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09764, allocations: 57.78 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001444/0.09912, allocations: 0.5541 MB / 487.6 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1018, allocations: 2.324 MB / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-06/0.1019, allocations: 0 / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.436e-06/0.1019, allocations: 0 / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.42e-07/0.1019, allocations: 0 / 489.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1036, allocations: 0.5147 MB / 490.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.929e-05/0.1037, allocations: 4 kB / 490.4 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.601e-05/0.1037, allocations: 7.938 kB / 490.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.1038, allocations: 15.97 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.1038, allocations: 12 kB / 490.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-06/0.1038, allocations: 0 / 490.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.1046, allocations: 0.5891 MB / 491 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-06/0.1046, allocations: 0 / 491 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.1046, allocations: 4 kB / 491 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005052/0.1051, allocations: 431.4 kB / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1052, allocations: 0 / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1052, allocations: 7.938 kB / 491.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1052, allocations: 0 / 491.5 MB, free: 8.078 MB / 378.7 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.0003623/0.1055, allocations: 424.9 kB / 491.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1056, allocations: 8.031 kB / 491.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.1056, allocations: 80.22 kB / 492 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.1057, allocations: 239.7 kB / 492.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.1058, allocations: 150.9 kB / 492.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1058, allocations: 158.7 kB / 492.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.984e-05/0.1059, allocations: 104.9 kB / 492.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1059, allocations: 75.28 kB / 492.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.106, allocations: 150.6 kB / 492.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/0.106, allocations: 154.6 kB / 493 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.106, allocations: 150.6 kB / 493.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.1063, allocations: 446 kB / 493.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.1063, allocations: 173.1 kB / 493.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.1064, allocations: 84.08 kB / 493.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1064, allocations: 79.28 kB / 493.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.1065, allocations: 139.5 kB / 494 MB, free: 5.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1065, allocations: 0 / 494 MB, free: 5.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.017e-05/0.1065, allocations: 25.7 kB / 494 MB, free: 5.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1066, allocations: 156.3 kB / 494.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.492e-05/0.1066, allocations: 97.8 kB / 494.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1067, allocations: 25.7 kB / 494.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.1067, allocations: 80.14 kB / 494.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.1067, allocations: 4 kB / 494.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.1067, allocations: 13.72 kB / 494.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.1068, allocations: 314.8 kB / 494.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-06/0.1068, allocations: 0 / 494.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.1068, allocations: 4 kB / 494.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.1069, allocations: 75.28 kB / 494.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.1069, allocations: 75.28 kB / 494.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.951e-05/0.107, allocations: 37.64 kB / 494.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.107, allocations: 83.31 kB / 495 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.107, allocations: 83.16 kB / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/0.1071, allocations: 150.6 kB / 495.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.318e-05/0.1071, allocations: 87.2 kB / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/0.1071, allocations: 150.6 kB / 495.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.1072, allocations: 75.28 kB / 495.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1072, allocations: 87.38 kB / 495.6 MB, free: 3.672 MB / 378.7 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 9.523e-05/0.1073, allocations: 260.4 kB / 495.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.1074, allocations: 117 kB / 496 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.1075, allocations: 112 kB / 496.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/0.1075, allocations: 176.3 kB / 496.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-05/0.1076, allocations: 180.3 kB / 496.4 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/0.1076, allocations: 188.2 kB / 496.6 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1078, allocations: 397.2 kB / 497 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.1079, allocations: 108.9 kB / 497.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.1079, allocations: 105 kB / 497.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/0.1079, allocations: 180.3 kB / 497.4 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.108, allocations: 184.2 kB / 497.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.174e-05/0.1081, allocations: 180.3 kB / 497.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.737e-05/0.1081, allocations: 184.2 kB / 497.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1085, allocations: 0.8454 MB / 498.8 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1085, allocations: 182.1 kB / 498.9 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.1086, allocations: 184.2 kB / 499.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1087, allocations: 105 kB / 499.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1088, allocations: 184.2 kB / 499.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.1088, allocations: 104.9 kB / 499.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.122e-05/0.1088, allocations: 79.28 kB / 499.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1088, allocations: 0 / 499.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005609/0.1094, allocations: 135.9 kB / 499.7 MB, free: 15.29 MB / 394.7 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.0006792/0.1101, allocations: 413.5 kB / 0.4884 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 3.749e-05/0.1101, allocations: 15.92 kB / 0.4884 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1101, allocations: 0 / 0.4884 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1101, allocations: 0 / 0.4884 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1105, allocations: 0.5185 MB / 0.4889 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001118/0.1106, allocations: 153.9 kB / 0.4891 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.1108, allocations: 0.6731 MB / 0.4897 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.793e-06/0.1108, allocations: 4 kB / 0.4897 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-06/0.1108, allocations: 7.438 kB / 0.4897 GB, free: 13.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1108, allocations: 4 kB / 0.4897 GB, free: 13.45 MB / 394.7 MB Notification: Performance of Templates: time 0.005885/0.1167, allocations: 3.068 MB / 0.4927 GB, free: 10.38 MB / 394.7 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)