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.001358/0.001358, allocations: 105.1 kB / 17.21 MB, free: 6.289 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.001584/0.001584, allocations: 194 kB / 18.12 MB, free: 5.383 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.336/1.336, allocations: 222.9 MB / 241.8 MB, free: 13.81 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.2043/0.2043, allocations: 44.19 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.8 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002044/0.1325, allocations: 0.5915 MB / 469.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.1335, allocations: 437.3 kB / 469.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1335, allocations: 0 / 469.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1336, allocations: 3.938 kB / 469.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.653e-05/0.1336, allocations: 0 / 469.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.1341, allocations: 103.8 kB / 469.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.1341, allocations: 31.97 kB / 469.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1342, allocations: 3.984 kB / 469.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1342, allocations: 11.94 kB / 469.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1343, allocations: 19.92 kB / 469.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1343, allocations: 4 kB / 469.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1347, allocations: 155.8 kB / 469.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1347, allocations: 19.91 kB / 469.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.1347, allocations: 15.94 kB / 469.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.135, allocations: 131.7 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.135, allocations: 4 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.135, allocations: 0 / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.135, allocations: 0 / 470 MB, free: 13.32 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.0004534/0.1355, allocations: 362.4 kB / 470.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1356, allocations: 12.03 kB / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1356, allocations: 4.844 kB / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1357, allocations: 168.3 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1358, allocations: 4.375 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.1358, allocations: 8.375 kB / 470.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.136, allocations: 66.22 kB / 470.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.136, allocations: 7.844 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.136, allocations: 4 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.136, allocations: 4 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1362, allocations: 39.95 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.1364, allocations: 169.6 kB / 470.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1366, allocations: 90.48 kB / 471 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.1367, allocations: 36.78 kB / 471 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.137, allocations: 105.4 kB / 471.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.137, allocations: 34.56 kB / 471.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.1371, allocations: 0 / 471.1 MB, free: 12.05 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.1325/0.2696, allocations: 5.624 MB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2697, allocations: 55.41 kB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.2698, allocations: 89.86 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2698, allocations: 33.83 kB / 476.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.2699, allocations: 80.52 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.2699, allocations: 82.83 kB / 477.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.27, allocations: 57.67 kB / 477.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2702, allocations: 318.8 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.2705, allocations: 119.8 kB / 477.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.2709, allocations: 123.3 kB / 477.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.2723, allocations: 316.6 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2723, allocations: 0 / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001197/0.2735, allocations: 358.6 kB / 478.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2736, allocations: 4 kB / 478.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2736, allocations: 0 / 478.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2736, allocations: 3.938 kB / 478.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.274, allocations: 87.84 kB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.274, allocations: 4 kB / 478.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2742, allocations: 19.97 kB / 478.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.2743, allocations: 23.92 kB / 478.5 MB, free: 4.598 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.0001156/0.2744, allocations: 113.8 kB / 478.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.2744, allocations: 15.84 kB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.2759, allocations: 421.8 kB / 479 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2759, allocations: 4 kB / 479 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2759, allocations: 0 / 479 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2759, allocations: 7.984 kB / 479 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.2782, allocations: 0.7728 MB / 479.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2782, allocations: 0 / 479.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.2785, allocations: 79.86 kB / 479.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2785, allocations: 4 kB / 479.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.2786, allocations: 12 kB / 479.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2786, allocations: 3.984 kB / 479.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2786, allocations: 4.062 kB / 479.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2798, allocations: 435.5 kB / 480.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.2798, allocations: 81.02 kB / 480.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.2799, allocations: 11.98 kB / 480.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2801, allocations: 23.97 kB / 480.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2801, allocations: 11.98 kB / 480.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.2801, allocations: 19.98 kB / 480.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.215e-05/0.2802, allocations: 79.28 kB / 480.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2802, allocations: 0 / 480.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001678/0.2819, allocations: 0.6288 MB / 481.2 MB, free: 1.773 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.003507/0.2854, allocations: 291.4 kB / 481.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.2862, allocations: 263.7 kB / 481.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2862, allocations: 0 / 481.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.2866, allocations: 132 kB / 481.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2869, allocations: 8 kB / 481.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.2878, allocations: 370.9 kB / 482.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2881, allocations: 0.7011 MB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.2884, allocations: 77.03 kB / 483 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2886, allocations: 47.39 kB / 483.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2886, allocations: 0 / 483.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of Templates: time 0.4285/0.7172, allocations: 53.76 MB / 0.5242 GB, free: 34.58 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","/var/lib/jenkins/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