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.001146/0.001146, allocations: 111 kB / 17.33 MB, free: 6.004 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.001276/0.001276, allocations: 193.3 kB / 18.25 MB, free: 5.094 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.9 MB, free: 13.69 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.2057/0.2057, allocations: 44.16 MB / 336.2 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001853/0.1156, allocations: 0.5953 MB / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.1165, allocations: 413.4 kB / 469.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.1165, allocations: 0 / 469.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1166, allocations: 3.938 kB / 469.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.953e-05/0.1166, allocations: 0 / 469.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.1171, allocations: 123.8 kB / 469.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.1172, allocations: 19.98 kB / 469.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.1173, allocations: 12 kB / 469.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.1173, allocations: 19.92 kB / 469.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.1174, allocations: 19.92 kB / 469.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1174, allocations: 0 / 469.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1176, allocations: 167.7 kB / 470.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1177, allocations: 11.94 kB / 470.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1177, allocations: 15.92 kB / 470.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1179, allocations: 135.9 kB / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1179, allocations: 0 / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1179, allocations: 0 / 470.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.118, allocations: 0 / 470.2 MB, free: 13.18 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.0004879/0.1184, allocations: 363.6 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1185, allocations: 8.031 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1185, allocations: 8.844 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1187, allocations: 172.2 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1187, allocations: 4.375 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.1187, allocations: 8.375 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1189, allocations: 58.23 kB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1189, allocations: 11.84 kB / 470.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1189, allocations: 4 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.119, allocations: 4 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.119, allocations: 43.95 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.1193, allocations: 169.7 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1194, allocations: 86.48 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.1195, allocations: 36.78 kB / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.1198, allocations: 97.08 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1198, allocations: 38.56 kB / 471.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1198, allocations: 0 / 471.3 MB, free: 11.91 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.1301/0.2499, allocations: 5.623 MB / 476.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.25, allocations: 51.41 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.2501, allocations: 93.86 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2501, allocations: 29.7 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.2502, allocations: 84.52 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.2503, allocations: 74.84 kB / 477.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2504, allocations: 61.67 kB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2505, allocations: 322.9 kB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.2509, allocations: 115.9 kB / 477.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.2512, allocations: 119.5 kB / 477.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.2526, allocations: 316.6 kB / 478.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2526, allocations: 0 / 478.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00112/0.2537, allocations: 354.8 kB / 478.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2538, allocations: 8 kB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.2538, allocations: 0 / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2538, allocations: 7.938 kB / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2542, allocations: 87.84 kB / 478.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2542, allocations: 0 / 478.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2544, allocations: 19.97 kB / 478.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.2544, allocations: 23.92 kB / 478.7 MB, free: 4.473 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.0001322/0.2546, allocations: 121.8 kB / 478.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.2546, allocations: 11.84 kB / 478.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.2561, allocations: 436.6 kB / 479.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2561, allocations: 4 kB / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2561, allocations: 0 / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2561, allocations: 0 / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.2582, allocations: 0.7806 MB / 480 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2582, allocations: 0 / 480 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.2585, allocations: 83.92 kB / 480.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2585, allocations: 4 kB / 480.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2585, allocations: 11.98 kB / 480.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2586, allocations: 3.984 kB / 480.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2586, allocations: 0 / 480.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2597, allocations: 432.6 kB / 480.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.2597, allocations: 85.02 kB / 480.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.2598, allocations: 8 kB / 480.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.26, allocations: 27.97 kB / 480.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.26, allocations: 11.98 kB / 480.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.26, allocations: 15.98 kB / 480.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.2601, allocations: 75.28 kB / 480.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2601, allocations: 0 / 480.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001602/0.2617, allocations: 0.6288 MB / 481.4 MB, free: 1.637 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.002949/0.2647, allocations: 299.5 kB / 481.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007956/0.2655, allocations: 271.6 kB / 481.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2655, allocations: 0 / 481.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.2658, allocations: 133.2 kB / 482.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2661, allocations: 12 kB / 482.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.2671, allocations: 379.2 kB / 482.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2674, allocations: 0.6931 MB / 483.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.2677, allocations: 81.08 kB / 483.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2678, allocations: 47.39 kB / 483.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2678, allocations: 0 / 483.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.4159/0.6837, allocations: 53.85 MB / 0.5245 GB, free: 34.64 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