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.0009416/0.0009414, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 230.7 MB, free: 7.539 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.0008465/0.0008464, allocations: 98.12 kB / 281.6 MB, free: 5.27 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.2155/0.2155, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.342e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.6325, allocations: 88.64 MB / 0.5812 GB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.6328, allocations: 67.95 kB / 0.5813 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03927/0.6721, allocations: 13.02 MB / 0.594 GB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6721, allocations: 0 / 0.594 GB, free: 10.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.6721, allocations: 0 / 0.594 GB, free: 10.78 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.000777/0.6729, allocations: 440 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.673, allocations: 11.98 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.6731, allocations: 79.28 kB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.6732, allocations: 246.3 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.6733, allocations: 154.5 kB / 0.5949 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.6734, allocations: 154.5 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.24e-05/0.6734, allocations: 150.6 kB / 0.5952 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.731e-05/0.6735, allocations: 105 kB / 0.5953 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.6736, allocations: 79.28 kB / 0.5954 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.6737, allocations: 158.6 kB / 0.5955 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.6737, allocations: 154.6 kB / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.674, allocations: 418.5 kB / 0.5961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.6741, allocations: 169.1 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.6741, allocations: 84.14 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.6742, allocations: 79.27 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.6743, allocations: 139.5 kB / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6743, allocations: 0 / 0.5965 GB, free: 8.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.914e-05/0.6744, allocations: 29.66 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.6744, allocations: 81.05 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.257e-05/0.6745, allocations: 89 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.6745, allocations: 30.55 kB / 0.5967 GB, free: 7.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.6746, allocations: 80.14 kB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.6746, allocations: 0 / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.6746, allocations: 0 / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6747, allocations: 310.8 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-06/0.6747, allocations: 0 / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.6748, allocations: 0 / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.6748, allocations: 79.28 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/0.6749, allocations: 79.31 kB / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.634e-05/0.6749, allocations: 33.62 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.675, allocations: 83.28 kB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.675, allocations: 79.22 kB / 0.5974 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.161e-05/0.6751, allocations: 154.6 kB / 0.5976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.78e-05/0.6751, allocations: 75.28 kB / 0.5977 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.003e-05/0.6752, allocations: 166.5 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.6753, allocations: 75.28 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.6753, allocations: 75.28 kB / 0.598 GB, free: 6.492 MB / 410.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 0.0001355/0.6755, allocations: 259.5 kB / 0.5982 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.6755, allocations: 104.9 kB / 0.5983 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.6756, allocations: 108.5 kB / 0.5984 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.6757, allocations: 188.2 kB / 0.5986 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-05/0.6758, allocations: 184.2 kB / 0.5988 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-05/0.6759, allocations: 188.2 kB / 0.599 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.6761, allocations: 375.2 kB / 0.5993 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/0.6761, allocations: 108.9 kB / 0.5994 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.6762, allocations: 105 kB / 0.5995 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/0.6762, allocations: 176.3 kB / 0.5997 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.6763, allocations: 184.2 kB / 0.5999 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.6764, allocations: 180.3 kB / 0.6 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-05/0.6765, allocations: 176.3 kB / 0.6002 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6766, allocations: 315.7 kB / 0.6005 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.6767, allocations: 182.1 kB / 0.6007 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.6768, allocations: 180.2 kB / 0.6008 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.6769, allocations: 105.4 kB / 0.6009 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.677, allocations: 180.3 kB / 0.6011 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.6771, allocations: 112.9 kB / 0.6012 GB, free: 2.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.6771, allocations: 75.33 kB / 0.6013 GB, free: 2.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6771, allocations: 0 / 0.6013 GB, free: 2.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008241/0.6779, allocations: 159.7 kB / 0.6015 GB, free: 2.719 MB / 410.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.0008543/0.6788, allocations: 463.3 kB / 0.6019 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.269e-05/0.6789, allocations: 0 / 0.6019 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6789, allocations: 0 / 0.6019 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.6789, allocations: 3.938 kB / 0.6019 GB, free: 2.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.6792, allocations: 0.5302 MB / 0.6024 GB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001217/0.6793, allocations: 119.3 kB / 0.6025 GB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.6796, allocations: 0.6768 MB / 0.6032 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.6796, allocations: 0 / 0.6032 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.6796, allocations: 7.438 kB / 0.6032 GB, free: 0.875 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6796, allocations: 0 / 0.6032 GB, free: 0.875 MB / 410.7 MB Notification: Performance of Templates: time 0.006659/0.6863, allocations: 2.917 MB / 0.606 GB, free: 13.96 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