Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001068, allocations: 177.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 98.86 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3514/0.3514, allocations: 44.21 MB / 387.5 MB, free: 38.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003216, allocations: 8 kB / 459.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 61.89 MB / 0.5095 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4678, allocations: 89.39 MB / 0.5968 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4681, allocations: 67.97 kB / 0.5969 GB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03744/0.5055, allocations: 13.11 MB / 0.6097 GB, free: 8.566 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5056, allocations: 0 / 0.6097 GB, free: 8.566 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.5056, allocations: 0 / 0.6097 GB, free: 8.566 MB / 426.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.0005842/0.5062, allocations: 452.8 kB / 0.6101 GB, free: 8.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5062, allocations: 16.03 kB / 0.6102 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.5063, allocations: 75.28 kB / 0.6102 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.5064, allocations: 238.3 kB / 0.6105 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.5064, allocations: 154.5 kB / 0.6106 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.5065, allocations: 154.5 kB / 0.6107 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.035e-05/0.5066, allocations: 101 kB / 0.6108 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/0.5066, allocations: 83.27 kB / 0.6109 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.5067, allocations: 154.6 kB / 0.6111 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.5067, allocations: 150.6 kB / 0.6112 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.5068, allocations: 150.6 kB / 0.6114 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.5071, allocations: 445.9 kB / 0.6118 GB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.5071, allocations: 173.1 kB / 0.6119 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.5072, allocations: 75.28 kB / 0.612 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/0.5073, allocations: 139.5 kB / 0.6122 GB, free: 5.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.5073, allocations: 0 / 0.6122 GB, free: 5.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 7.345e-05/0.5073, allocations: 29.64 kB / 0.6122 GB, free: 5.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.5074, allocations: 164.4 kB / 0.6123 GB, free: 5.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.969e-05/0.5075, allocations: 88.94 kB / 0.6124 GB, free: 5.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5075, allocations: 25.7 kB / 0.6124 GB, free: 5.535 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.5075, allocations: 80.14 kB / 0.6125 GB, free: 5.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.5075, allocations: 0 / 0.6125 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.5075, allocations: 0 / 0.6125 GB, free: 5.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5076, allocations: 310.8 kB / 0.6128 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.5076, allocations: 0 / 0.6128 GB, free: 5.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.5077, allocations: 4 kB / 0.6128 GB, free: 5.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.5077, allocations: 79.31 kB / 0.6129 GB, free: 5.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/0.5077, allocations: 75.28 kB / 0.613 GB, free: 4.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.605e-05/0.5078, allocations: 33.64 kB / 0.613 GB, free: 4.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.5078, allocations: 84.78 kB / 0.6131 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.5079, allocations: 79.28 kB / 0.6132 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.263e-05/0.5079, allocations: 162.5 kB / 0.6133 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.508, allocations: 83.22 kB / 0.6134 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.331e-05/0.508, allocations: 154.6 kB / 0.6135 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.5081, allocations: 79.22 kB / 0.6136 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5082, allocations: 79.28 kB / 0.6137 GB, free: 4.234 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.5083, allocations: 256.9 kB / 0.6139 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.5083, allocations: 109 kB / 0.614 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.5084, allocations: 116 kB / 0.6142 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/0.5085, allocations: 176.3 kB / 0.6143 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/0.5085, allocations: 188.2 kB / 0.6145 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.5086, allocations: 176.3 kB / 0.6147 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.5088, allocations: 405.2 kB / 0.6151 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.5088, allocations: 110.2 kB / 0.6152 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.5089, allocations: 105 kB / 0.6153 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.509, allocations: 180.2 kB / 0.6154 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.509, allocations: 176.3 kB / 0.6156 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.158e-05/0.5091, allocations: 180.2 kB / 0.6158 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.106e-05/0.5092, allocations: 188.2 kB / 0.6159 GB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5093, allocations: 311.7 kB / 0.6162 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.5094, allocations: 182.1 kB / 0.6164 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.5095, allocations: 180.3 kB / 0.6166 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.5096, allocations: 113.3 kB / 0.6167 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.5096, allocations: 180.3 kB / 0.6169 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.5097, allocations: 108.9 kB / 0.617 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.5097, allocations: 83.28 kB / 0.6171 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5097, allocations: 0 / 0.6171 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000755/0.5105, allocations: 167.7 kB / 0.6172 GB, free: 412 kB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008383/0.5113, allocations: 469.7 kB / 0.6177 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.277e-05/0.5114, allocations: 3.938 kB / 0.6177 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5114, allocations: 0 / 0.6177 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5114, allocations: 0 / 0.6177 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.5117, allocations: 0.5263 MB / 0.6182 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001378/0.5118, allocations: 150 kB / 0.6183 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.5121, allocations: 0.6731 MB / 0.619 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.051e-06/0.5121, allocations: 0 / 0.619 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.198e-05/0.5121, allocations: 11.44 kB / 0.619 GB, free: 14.53 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5121, allocations: 0 / 0.619 GB, free: 14.53 MB / 442.7 MB Notification: Performance of Templates: time 0.006318/0.5184, allocations: 2.898 MB / 0.6218 GB, free: 11.64 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches