Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000886/0.0008861, allocations: 176.8 kB / 17.41 MB, free: 4.383 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.229/1.229, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007287/0.0007288, allocations: 82.42 kB / 271.9 MB, free: 8.262 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.301/0.301, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2492/0.351, allocations: 84.69 MB / 0.5626 GB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.3512, allocations: 67.95 kB / 0.5627 GB, free: 1.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008298/0.3595, allocations: 3.167 MB / 0.5658 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3595, allocations: 0 / 0.5658 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3596, allocations: 0 / 0.5658 GB, free: 14.54 MB / 394.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.0002941/0.3599, allocations: 367 kB / 0.5661 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.3599, allocations: 8.031 kB / 0.5661 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.3599, allocations: 8.844 kB / 0.5661 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.36, allocations: 172.3 kB / 0.5663 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.36, allocations: 8.312 kB / 0.5663 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3601, allocations: 8.375 kB / 0.5663 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3602, allocations: 66.22 kB / 0.5664 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3602, allocations: 4.188 kB / 0.5664 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3602, allocations: 3.938 kB / 0.5664 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3602, allocations: 0 / 0.5664 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.3603, allocations: 47.95 kB / 0.5664 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3605, allocations: 173.5 kB / 0.5666 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3606, allocations: 90.47 kB / 0.5667 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.3607, allocations: 28.84 kB / 0.5667 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.3609, allocations: 116.5 kB / 0.5668 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3609, allocations: 38.56 kB / 0.5669 GB, free: 13.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.361, allocations: 0 / 0.5669 GB, free: 13.25 MB / 394.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.1147/0.4756, allocations: 5.528 MB / 0.5723 GB, free: 7.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.4757, allocations: 55.27 kB / 0.5723 GB, free: 7.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.4758, allocations: 105.8 kB / 0.5724 GB, free: 7.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.4759, allocations: 29.7 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.4759, allocations: 84.45 kB / 0.5725 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4761, allocations: 70.86 kB / 0.5726 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.4761, allocations: 11.94 kB / 0.5726 GB, free: 7.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4762, allocations: 322.8 kB / 0.5729 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.4768, allocations: 140 kB / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.4774, allocations: 135.9 kB / 0.5732 GB, free: 6.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.4796, allocations: 365.8 kB / 0.5735 GB, free: 6.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4796, allocations: 0 / 0.5735 GB, free: 6.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001725/0.4814, allocations: 406.4 kB / 0.5739 GB, free: 5.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4814, allocations: 4 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4814, allocations: 0 / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4814, allocations: 0 / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.482, allocations: 95.84 kB / 0.574 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.482, allocations: 4 kB / 0.574 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.4823, allocations: 37.59 kB / 0.5741 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.4823, allocations: 11.98 kB / 0.5741 GB, free: 5.809 MB / 394.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.0001498/0.4825, allocations: 129.7 kB / 0.5742 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.4825, allocations: 7.906 kB / 0.5742 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.4847, allocations: 474.7 kB / 0.5747 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.4848, allocations: 4.875 kB / 0.5747 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4848, allocations: 0 / 0.5747 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4848, allocations: 4 kB / 0.5747 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.4881, allocations: 0.8703 MB / 0.5755 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4881, allocations: 3.938 kB / 0.5755 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4885, allocations: 83.88 kB / 0.5756 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.4886, allocations: 11.98 kB / 0.5756 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.4886, allocations: 16.06 kB / 0.5756 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4886, allocations: 0 / 0.5756 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4886, allocations: 7.922 kB / 0.5756 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4904, allocations: 476.7 kB / 0.5761 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.4904, allocations: 89 kB / 0.5762 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.4905, allocations: 11.98 kB / 0.5762 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.4908, allocations: 31.97 kB / 0.5762 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4908, allocations: 19.98 kB / 0.5762 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.4909, allocations: 11.98 kB / 0.5762 GB, free: 3.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.4909, allocations: 79.28 kB / 0.5763 GB, free: 3.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4909, allocations: 0 / 0.5763 GB, free: 3.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002135/0.4931, allocations: 0.6129 MB / 0.5769 GB, free: 2.777 MB / 394.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.003961/0.4971, allocations: 354.5 kB / 0.5773 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.4982, allocations: 307.7 kB / 0.5775 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4983, allocations: 0 / 0.5775 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.4988, allocations: 151.9 kB / 0.5777 GB, free: 1.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4992, allocations: 15.52 kB / 0.5777 GB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5005, allocations: 438.8 kB / 0.5781 GB, free: 1.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5008, allocations: 0.6973 MB / 0.5788 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.501, allocations: 47.39 kB / 0.5788 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5011, allocations: 0 / 0.5788 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of Templates: time 0.02626/0.5273, allocations: 12.93 MB / 0.5915 GB, free: 3.809 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches