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.0008255/0.0008255, allocations: 90.52 kB / 18 MB, free: 5.734 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.0009218/0.0009218, allocations: 180 kB / 18.91 MB, free: 4.867 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 14.19 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.1877/0.1877, allocations: 44.24 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 8.281 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09547, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006239/0.09615, allocations: 266.8 kB / 473.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.09698, allocations: 424.7 kB / 473.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.09702, allocations: 4 kB / 473.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.09704, allocations: 0 / 473.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.065e-05/0.09707, allocations: 0 / 473.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.09748, allocations: 107.8 kB / 473.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.827e-05/0.09754, allocations: 19.98 kB / 473.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.09759, allocations: 4 kB / 473.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.09763, allocations: 19.92 kB / 473.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.09768, allocations: 15.92 kB / 473.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.0977, allocations: 8 kB / 473.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.09796, allocations: 159.8 kB / 473.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.09798, allocations: 19.91 kB / 473.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.09803, allocations: 37.64 kB / 474 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.09818, allocations: 83.81 kB / 474.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09819, allocations: 0 / 474.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0982, allocations: 0 / 474.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.09821, allocations: 3.938 kB / 474.1 MB, free: 12.17 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.0003592/0.09857, allocations: 354.2 kB / 474.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09862, allocations: 8.031 kB / 474.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.09866, allocations: 12.84 kB / 474.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.09877, allocations: 164.3 kB / 474.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.09879, allocations: 8.375 kB / 474.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.09882, allocations: 4.375 kB / 474.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.09896, allocations: 66.22 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.09898, allocations: 11.84 kB / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.09899, allocations: 0 / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.099, allocations: 0 / 474.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.0991, allocations: 43.95 kB / 474.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.09929, allocations: 177.6 kB / 474.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.09944, allocations: 86.48 kB / 475 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.09949, allocations: 28.84 kB / 475 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.09977, allocations: 109.1 kB / 475.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.09981, allocations: 38.56 kB / 475.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.09982, allocations: 0 / 475.2 MB, free: 10.9 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.1446/0.2444, allocations: 5.851 MB / 481 MB, free: 5.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2445, allocations: 55.41 kB / 481.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.2445, allocations: 93.86 kB / 481.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2446, allocations: 29.7 kB / 481.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.2446, allocations: 80.52 kB / 481.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.2447, allocations: 78.83 kB / 481.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.2448, allocations: 25.72 kB / 481.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2449, allocations: 322.8 kB / 481.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.2453, allocations: 140 kB / 481.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.2456, allocations: 139.8 kB / 481.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.2472, allocations: 368.2 kB / 482.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2472, allocations: 0 / 482.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00128/0.2485, allocations: 409.2 kB / 482.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2485, allocations: 4 kB / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2485, allocations: 0 / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2485, allocations: 0 / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.2489, allocations: 91.86 kB / 482.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2489, allocations: 4 kB / 482.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.2492, allocations: 39.95 kB / 482.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2492, allocations: 19.92 kB / 482.9 MB, free: 3.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2493, allocations: 121.8 kB / 483 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.2493, allocations: 11.91 kB / 483 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.2508, allocations: 476 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2508, allocations: 4 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2509, allocations: 0 / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2509, allocations: 7.984 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.2532, allocations: 0.8676 MB / 484.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2533, allocations: 0 / 484.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.2536, allocations: 87.81 kB / 484.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2536, allocations: 0 / 484.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2536, allocations: 20.05 kB / 484.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2536, allocations: 4 kB / 484.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2536, allocations: 0 / 484.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2549, allocations: 482.1 kB / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.2549, allocations: 81.02 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.255, allocations: 8 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2552, allocations: 39.95 kB / 485 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.2552, allocations: 19.98 kB / 485.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.2553, allocations: 11.98 kB / 485.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.292e-05/0.2553, allocations: 79.28 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2553, allocations: 0 / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001627/0.2569, allocations: 0.6288 MB / 485.8 MB, free: 60 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003198/0.2601, allocations: 307.4 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008553/0.261, allocations: 305.7 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.261, allocations: 0 / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.2614, allocations: 159.9 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.2617, allocations: 15.94 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2627, allocations: 446.6 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.263, allocations: 0.6933 MB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2631, allocations: 47.39 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2631, allocations: 0 / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of Templates: time 0.02044/0.2835, allocations: 14.18 MB / 0.4901 GB, free: 15.88 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches