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.001239/0.001239, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.332/1.332, allocations: 221.4 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008814, allocations: 98.7 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.14 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.914e-05, allocations: 8.203 kB / 451.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 61.91 MB / 0.5017 GB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4918, allocations: 89.31 MB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4921, allocations: 64.05 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03668/0.5288, allocations: 13.06 MB / 0.6017 GB, free: 2.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5288, allocations: 0 / 0.6017 GB, free: 2.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.5288, allocations: 4 kB / 0.6017 GB, free: 2.906 MB / 410.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.0005166/0.5294, allocations: 440 kB / 0.6022 GB, free: 2.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5294, allocations: 15.97 kB / 0.6022 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.5295, allocations: 75.28 kB / 0.6022 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.5296, allocations: 242.3 kB / 0.6025 GB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.5296, allocations: 154.6 kB / 0.6026 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.5297, allocations: 162.5 kB / 0.6028 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.264e-05/0.5298, allocations: 105 kB / 0.6029 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.5298, allocations: 75.28 kB / 0.6029 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.5299, allocations: 150.6 kB / 0.6031 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.5299, allocations: 150.6 kB / 0.6032 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.53, allocations: 154.5 kB / 0.6034 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.5302, allocations: 450 kB / 0.6038 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.5303, allocations: 165.1 kB / 0.604 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5303, allocations: 84.12 kB / 0.604 GB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5304, allocations: 75.28 kB / 0.6041 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/0.5304, allocations: 139.5 kB / 0.6043 GB, free: 144 kB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/0.5304, allocations: 0 / 0.6043 GB, free: 144 kB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.564e-05/0.5305, allocations: 33.64 kB / 0.6043 GB, free: 104 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.5306, allocations: 156.4 kB / 0.6044 GB, free: 15.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.036e-05/0.5306, allocations: 85 kB / 0.6045 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5307, allocations: 25.7 kB / 0.6045 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.5307, allocations: 84.08 kB / 0.6046 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.5307, allocations: 4 kB / 0.6046 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.5307, allocations: 4 kB / 0.6046 GB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.5308, allocations: 310.8 kB / 0.6049 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.5308, allocations: 0 / 0.6049 GB, free: 15.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.5308, allocations: 0 / 0.6049 GB, free: 15.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.5309, allocations: 75.28 kB / 0.605 GB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/0.5309, allocations: 79.28 kB / 0.6051 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.198e-05/0.531, allocations: 36.38 kB / 0.6051 GB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.531, allocations: 84.69 kB / 0.6052 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.531, allocations: 83.36 kB / 0.6053 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.213e-05/0.5311, allocations: 162.5 kB / 0.6054 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.5311, allocations: 75.28 kB / 0.6055 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.623e-05/0.5312, allocations: 154.5 kB / 0.6056 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.5313, allocations: 83.22 kB / 0.6057 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.5313, allocations: 75.28 kB / 0.6058 GB, free: 14.5 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 () * 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 9.558e-05/0.5314, allocations: 263.5 kB / 0.606 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.5314, allocations: 104.9 kB / 0.6061 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.5315, allocations: 111.9 kB / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/0.5316, allocations: 184.2 kB / 0.6064 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.5316, allocations: 184.1 kB / 0.6066 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-05/0.5317, allocations: 184.2 kB / 0.6068 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.5319, allocations: 401.2 kB / 0.6072 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/0.5319, allocations: 105 kB / 0.6073 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.532, allocations: 101 kB / 0.6074 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-05/0.532, allocations: 184.2 kB / 0.6075 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.5321, allocations: 184.3 kB / 0.6077 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-05/0.5321, allocations: 180.2 kB / 0.6079 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.093e-05/0.5322, allocations: 184.2 kB / 0.6081 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5323, allocations: 311.7 kB / 0.6084 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.5324, allocations: 178.1 kB / 0.6085 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.5325, allocations: 188.6 kB / 0.6087 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.5326, allocations: 101 kB / 0.6088 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5326, allocations: 188.2 kB / 0.609 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.5327, allocations: 117 kB / 0.6091 GB, free: 10.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.366e-05/0.5327, allocations: 75.28 kB / 0.6092 GB, free: 10.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5327, allocations: 0 / 0.6092 GB, free: 10.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007012/0.5334, allocations: 163.7 kB / 0.6093 GB, free: 10.67 MB / 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 () * 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.0007633/0.5342, allocations: 460.2 kB / 0.6098 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.025e-05/0.5342, allocations: 8 kB / 0.6098 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5342, allocations: 4 kB / 0.6098 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5343, allocations: 0 / 0.6098 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.5345, allocations: 0.5146 MB / 0.6103 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001131/0.5346, allocations: 121.6 kB / 0.6104 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.5349, allocations: 0.6731 MB / 0.611 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.692e-06/0.5349, allocations: 4 kB / 0.611 GB, free: 8.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.5349, allocations: 11.44 kB / 0.6111 GB, free: 8.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5349, allocations: 0 / 0.6111 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Templates: time 0.006583/0.5415, allocations: 2.948 MB / 0.6139 GB, free: 5.895 MB / 426.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