Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.1 kB / 17.06 MB, free: 5.074 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.252/1.252, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008617/0.0008618, allocations: 89.92 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.3088/0.3088, allocations: 44.22 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002928, allocations: 11.94 kB / 459.9 MB, free: 1.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3164, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09844/0.4149, allocations: 85.76 MB / 0.5933 GB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4151, allocations: 71.94 kB / 0.5934 GB, free: 9.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00923/0.4243, allocations: 3.185 MB / 0.5965 GB, free: 6.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4244, allocations: 0 / 0.5965 GB, free: 6.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.4244, allocations: 0 / 0.5965 GB, free: 6.164 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003336/0.4247, allocations: 375.1 kB / 0.5968 GB, free: 5.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4248, allocations: 12.03 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.4248, allocations: 7.906 kB / 0.5969 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4249, allocations: 171 kB / 0.597 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.425, allocations: 7.953 kB / 0.597 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.425, allocations: 4 kB / 0.597 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.4251, allocations: 61.66 kB / 0.5971 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4251, allocations: 8 kB / 0.5971 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.4251, allocations: 0 / 0.5971 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.4252, allocations: 0 / 0.5971 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.4252, allocations: 43.95 kB / 0.5971 GB, free: 5.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.4254, allocations: 177.5 kB / 0.5973 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.4255, allocations: 90.41 kB / 0.5974 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.4258, allocations: 125 kB / 0.5975 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.4258, allocations: 30.56 kB / 0.5976 GB, free: 4.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.4258, allocations: 4 kB / 0.5976 GB, free: 4.891 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1234/0.5492, allocations: 5.54 MB / 0.603 GB, free: 15.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5492, allocations: 59.39 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.5493, allocations: 89 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.5493, allocations: 33.7 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.5494, allocations: 80.52 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.5494, allocations: 70.86 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.5494, allocations: 4 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5495, allocations: 330.8 kB / 0.6036 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.5499, allocations: 136 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.5502, allocations: 143.5 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/0.551, allocations: 175.9 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5511, allocations: 0 / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001378/0.5524, allocations: 401.2 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5525, allocations: 4 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5525, allocations: 0 / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.5525, allocations: 7.938 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.553, allocations: 95.86 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.553, allocations: 7.984 kB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.5533, allocations: 35.97 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.5533, allocations: 15.98 kB / 0.6046 GB, free: 13.62 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 (23): * Single equations (assignments): 23 * 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.0001157/0.5534, allocations: 122.3 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.5535, allocations: 7.906 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.555, allocations: 480.8 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.555, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.555, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.555, allocations: 4 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.5572, allocations: 0.8714 MB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5572, allocations: 0 / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.5575, allocations: 91.94 kB / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5575, allocations: 7.953 kB / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5575, allocations: 7.984 kB / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5576, allocations: 4 kB / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5576, allocations: 0 / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.5587, allocations: 0.4922 MB / 0.6066 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.5587, allocations: 85.02 kB / 0.6067 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.5588, allocations: 8 kB / 0.6067 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.559, allocations: 39.95 kB / 0.6067 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.559, allocations: 11.98 kB / 0.6067 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.559, allocations: 23.98 kB / 0.6068 GB, free: 11.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.46e-05/0.5591, allocations: 75.28 kB / 0.6068 GB, free: 11.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5591, allocations: 0 / 0.6068 GB, free: 11.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001411/0.5605, allocations: 0.6129 MB / 0.6074 GB, free: 10.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002591/0.5631, allocations: 350.6 kB / 0.6078 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.5638, allocations: 307.7 kB / 0.6081 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5638, allocations: 0 / 0.6081 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.5642, allocations: 152.9 kB / 0.6082 GB, free: 9.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.5643, allocations: 10.3 kB / 0.6082 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.5652, allocations: 405.3 kB / 0.6086 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5655, allocations: 0.7016 MB / 0.6093 GB, free: 8.598 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.5658, allocations: 77.08 kB / 0.6094 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.566, allocations: 43.41 kB / 0.6094 GB, free: 8.48 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.566, allocations: 0 / 0.6094 GB, free: 8.48 MB / 426.7 MB Notification: Performance of Templates: time 0.02755/0.5935, allocations: 17.14 MB / 0.6261 GB, free: 7.449 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches