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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009291, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008811/0.0008813, allocations: 181.5 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1884/0.1884, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003497, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1105, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000688/0.1113, allocations: 254.8 kB / 471.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.1121, allocations: 389 kB / 472.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1121, allocations: 0 / 472.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.1121, allocations: 0 / 472.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.256e-05/0.1122, allocations: 0 / 472.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1127, allocations: 99.66 kB / 472.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.1128, allocations: 23.97 kB / 472.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.1128, allocations: 4 kB / 472.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.1128, allocations: 11.92 kB / 472.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.1129, allocations: 23.91 kB / 472.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1129, allocations: 4 kB / 472.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.1132, allocations: 143.8 kB / 472.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1132, allocations: 7.984 kB / 472.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1132, allocations: 33.64 kB / 472.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1134, allocations: 83.88 kB / 472.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1134, allocations: 0 / 472.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1134, allocations: 8 kB / 472.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1134, allocations: 0 / 472.5 MB, free: 12.66 MB / 350.1 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.0004176/0.1139, allocations: 347.6 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1139, allocations: 8.031 kB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.114, allocations: 7.906 kB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1141, allocations: 163.1 kB / 473 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1141, allocations: 4 kB / 473 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1142, allocations: 15.89 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1143, allocations: 61.61 kB / 473.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1143, allocations: 7.906 kB / 473.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1144, allocations: 8 kB / 473.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1144, allocations: 0 / 473.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1145, allocations: 39.95 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.1147, allocations: 173.6 kB / 473.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1148, allocations: 82.55 kB / 473.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.1151, allocations: 113.1 kB / 473.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1152, allocations: 46.45 kB / 473.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1152, allocations: 0 / 473.6 MB, free: 11.43 MB / 350.1 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.136/0.2512, allocations: 5.842 MB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2513, allocations: 55.34 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.2514, allocations: 97.84 kB / 479.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2514, allocations: 29.7 kB / 479.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.2515, allocations: 80.52 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.2516, allocations: 74.77 kB / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.2516, allocations: 8 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2517, allocations: 326.9 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2521, allocations: 135.9 kB / 480.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.2524, allocations: 131.9 kB / 480.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.2532, allocations: 186 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2532, allocations: 0 / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001173/0.2544, allocations: 409.1 kB / 480.9 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2544, allocations: 4 kB / 480.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2544, allocations: 0 / 480.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2544, allocations: 4 kB / 480.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.2548, allocations: 87.92 kB / 481 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2548, allocations: 3.984 kB / 481 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.255, allocations: 39.95 kB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.2551, allocations: 19.98 kB / 481.1 MB, free: 3.844 MB / 350.1 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.0001217/0.2552, allocations: 126.3 kB / 481.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.2552, allocations: 7.906 kB / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.2567, allocations: 481.5 kB / 481.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2567, allocations: 8 kB / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2567, allocations: 0 / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2567, allocations: 0 / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.2591, allocations: 0.8737 MB / 482.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2591, allocations: 0 / 482.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.2594, allocations: 80 kB / 482.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.2594, allocations: 7.953 kB / 482.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2594, allocations: 15.98 kB / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2594, allocations: 3.938 kB / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2594, allocations: 7.938 kB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2607, allocations: 492.2 kB / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.2607, allocations: 85.02 kB / 483.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2608, allocations: 4 kB / 483.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.261, allocations: 39.95 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.261, allocations: 15.98 kB / 483.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.261, allocations: 15.98 kB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.2611, allocations: 75.28 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2611, allocations: 0 / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001656/0.2627, allocations: 0.6288 MB / 484 MB, free: 0.7773 MB / 350.1 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.003232/0.266, allocations: 303 kB / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.2668, allocations: 303.6 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2668, allocations: 0 / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.2672, allocations: 155.9 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.2674, allocations: 11.95 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2684, allocations: 397.1 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2687, allocations: 0.7094 MB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.269, allocations: 77.08 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2692, allocations: 43.41 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.003e-06/0.2692, allocations: 7.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.4304/0.6996, allocations: 53.77 MB / 0.5271 GB, free: 34.26 MB / 382.1 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