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.001377/0.001378, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001522/0.001522, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.195/0.195, allocations: 44.16 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.27 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09883, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00167/0.1005, allocations: 0.5838 MB / 469.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.1013, allocations: 437.4 kB / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.1013, allocations: 0 / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.1014, allocations: 3.938 kB / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.1014, allocations: 0 / 470.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1018, allocations: 118.9 kB / 470.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.1018, allocations: 23.92 kB / 470.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1019, allocations: 4 kB / 470.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.1019, allocations: 12 kB / 470.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.102, allocations: 23.84 kB / 470.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.102, allocations: 4 kB / 470.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1022, allocations: 163.7 kB / 470.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.1022, allocations: 8 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1023, allocations: 19.86 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1024, allocations: 75.89 kB / 470.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1024, allocations: 4 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1024, allocations: 0 / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1024, allocations: 0 / 470.6 MB, free: 13.38 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.0003609/0.1028, allocations: 363.8 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1028, allocations: 8.031 kB / 471 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1029, allocations: 8.844 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.103, allocations: 164.4 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.103, allocations: 4.375 kB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.103, allocations: 8.375 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1032, allocations: 74.09 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1032, allocations: 7.844 kB / 471.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1032, allocations: 8 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1032, allocations: 4 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.1033, allocations: 39.95 kB / 471.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1035, allocations: 181.6 kB / 471.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1036, allocations: 86.42 kB / 471.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.1037, allocations: 40.78 kB / 471.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.1039, allocations: 101.1 kB / 471.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.104, allocations: 34.56 kB / 471.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.104, allocations: 0 / 471.7 MB, free: 12.09 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.1299/0.2339, allocations: 5.624 MB / 477.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2339, allocations: 55.41 kB / 477.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.234, allocations: 89.86 kB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.2341, allocations: 29.7 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.2341, allocations: 84.64 kB / 477.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.2342, allocations: 82.84 kB / 477.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.2343, allocations: 57.67 kB / 477.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2345, allocations: 326.8 kB / 478.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2348, allocations: 107.9 kB / 478.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.2352, allocations: 115.9 kB / 478.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.2366, allocations: 328.2 kB / 478.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2366, allocations: 0 / 478.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001176/0.2378, allocations: 353.1 kB / 479 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2378, allocations: 4 kB / 479 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2378, allocations: 0 / 479 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2379, allocations: 0 / 479 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.2383, allocations: 91.84 kB / 479.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.2383, allocations: 0 / 479.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.2385, allocations: 31.97 kB / 479.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.2385, allocations: 19.91 kB / 479.1 MB, free: 4.641 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.0001154/0.2387, allocations: 117.8 kB / 479.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.2387, allocations: 7.906 kB / 479.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.2402, allocations: 436.6 kB / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2402, allocations: 0 / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2402, allocations: 0 / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2402, allocations: 0 / 479.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.2424, allocations: 0.7767 MB / 480.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2424, allocations: 4 kB / 480.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2427, allocations: 79.86 kB / 480.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2428, allocations: 0 / 480.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2428, allocations: 15.98 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2428, allocations: 4 kB / 480.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2428, allocations: 0 / 480.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.244, allocations: 424.8 kB / 480.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.244, allocations: 85.02 kB / 481 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.244, allocations: 7.938 kB / 481 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2443, allocations: 27.91 kB / 481.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2443, allocations: 11.98 kB / 481.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2443, allocations: 23.98 kB / 481.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.2444, allocations: 79.28 kB / 481.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2444, allocations: 0 / 481.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001722/0.2461, allocations: 0.6366 MB / 481.8 MB, free: 1.809 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 (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.003459/0.2496, allocations: 283.5 kB / 482.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007889/0.2504, allocations: 259.7 kB / 482.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2504, allocations: 0 / 482.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.2507, allocations: 139.9 kB / 482.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.251, allocations: 8 kB / 482.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.252, allocations: 396.4 kB / 482.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2522, allocations: 0.6973 MB / 483.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2524, allocations: 47.39 kB / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2524, allocations: 0 / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.02121/0.2736, allocations: 14.13 MB / 497.8 MB, free: 1.828 MB / 366.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