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.001093/0.001093, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001044/0.001044, allocations: 187 kB / 19.34 MB, free: 3.641 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.319/1.319, allocations: 222.9 MB / 243 MB, free: 15.1 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.1974/0.1974, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 59.72 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.113, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001725/0.1147, allocations: 0.5454 MB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.1155, allocations: 413.2 kB / 471.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.1156, allocations: 0 / 471.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.1156, allocations: 0 / 471.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.1156, allocations: 3.938 kB / 471.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.1161, allocations: 135.6 kB / 471.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.1162, allocations: 27.92 kB / 471.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.1162, allocations: 7.984 kB / 471.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1162, allocations: 19.92 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1163, allocations: 11.94 kB / 471.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1163, allocations: 4 kB / 471.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.1166, allocations: 167.7 kB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1166, allocations: 11.98 kB / 472 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.1167, allocations: 15.88 kB / 472 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1169, allocations: 127.7 kB / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1169, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1169, allocations: 0 / 472.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1169, allocations: 0 / 472.2 MB, free: 12.2 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.0004177/0.1173, allocations: 363.6 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1173, allocations: 8.031 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1174, allocations: 8.844 kB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1175, allocations: 172.2 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1175, allocations: 4.375 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1175, allocations: 8.375 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1177, allocations: 65.73 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1177, allocations: 11.84 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1177, allocations: 7.938 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1177, allocations: 4 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.218e-05/0.1178, allocations: 47.89 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.118, allocations: 169.7 kB / 473 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1182, allocations: 86.48 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.1183, allocations: 32.84 kB / 473.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.1185, allocations: 101.1 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1186, allocations: 34.56 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.1186, allocations: 4 kB / 473.3 MB, free: 10.92 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.1256/0.2442, allocations: 5.621 MB / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.2443, allocations: 51.41 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.2444, allocations: 93.86 kB / 479 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.2444, allocations: 33.64 kB / 479.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.2444, allocations: 80.52 kB / 479.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.2445, allocations: 82.77 kB / 479.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.2446, allocations: 61.67 kB / 479.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2448, allocations: 326.9 kB / 479.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2451, allocations: 111.9 kB / 479.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2454, allocations: 115.5 kB / 479.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.2478, allocations: 320.6 kB / 480.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2478, allocations: 0 / 480.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001927/0.2498, allocations: 354.8 kB / 480.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2498, allocations: 8 kB / 480.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2498, allocations: 0 / 480.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2499, allocations: 7.984 kB / 480.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.2504, allocations: 83.86 kB / 480.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2505, allocations: 3.984 kB / 480.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2508, allocations: 19.97 kB / 480.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.2508, allocations: 27.91 kB / 480.6 MB, free: 3.461 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.0001548/0.251, allocations: 121.8 kB / 480.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.2511, allocations: 11.91 kB / 480.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.2532, allocations: 421.8 kB / 481.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2532, allocations: 4 kB / 481.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2532, allocations: 0 / 481.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2532, allocations: 0 / 481.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.2563, allocations: 0.7689 MB / 482 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2564, allocations: 3.938 kB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.2568, allocations: 79.86 kB / 482 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2568, allocations: 0 / 482 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.2569, allocations: 16.05 kB / 482.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2569, allocations: 8 kB / 482.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2569, allocations: 0 / 482.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.2587, allocations: 431.5 kB / 482.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.2587, allocations: 85.02 kB / 482.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.2588, allocations: 7.938 kB / 482.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.2591, allocations: 27.97 kB / 482.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.2591, allocations: 23.91 kB / 482.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.2592, allocations: 8 kB / 482.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.2592, allocations: 83.28 kB / 482.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2593, allocations: 0 / 482.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001978/0.2612, allocations: 0.6249 MB / 483.3 MB, free: 0.6406 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.003049/0.2643, allocations: 295 kB / 483.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.2651, allocations: 263.6 kB / 483.9 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2651, allocations: 0 / 483.9 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.2654, allocations: 137.6 kB / 484 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2657, allocations: 8 kB / 484 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.2666, allocations: 335.1 kB / 484.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2668, allocations: 0.697 MB / 485.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.267, allocations: 77.08 kB / 485.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2672, allocations: 47.39 kB / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2672, allocations: 0 / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Templates: time 0.3681/0.6353, allocations: 53.86 MB / 0.5264 GB, free: 35.34 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 -s gbode -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