Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008088/0.0008091, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 177 kB / 16.91 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 223.1 MB, free: 5.211 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.36/0.36, allocations: 43.57 MB / 315 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005183, allocations: 16.56 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006724/0.1216, allocations: 272.2 kB / 443.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.1224, allocations: 434.3 kB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.1224, allocations: 0 / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.1224, allocations: 0 / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.1225, allocations: 0 / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1229, allocations: 107.8 kB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.231e-05/0.1229, allocations: 23.98 kB / 444.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.123, allocations: 7.938 kB / 444.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.123, allocations: 15.94 kB / 444.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.1231, allocations: 23.91 kB / 444.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1231, allocations: 0 / 444.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1233, allocations: 163.7 kB / 444.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.1234, allocations: 11.94 kB / 444.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1234, allocations: 37.64 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1236, allocations: 128 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1236, allocations: 0 / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1236, allocations: 3.938 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1237, allocations: 4 kB / 444.7 MB, free: 11.46 MB / 382.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.0003845/0.124, allocations: 359.4 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1241, allocations: 8.031 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1241, allocations: 8.844 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1242, allocations: 172.3 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1243, allocations: 4.375 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1243, allocations: 8.375 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1245, allocations: 62.22 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1245, allocations: 3.938 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1245, allocations: 12 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1245, allocations: 0 / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.1246, allocations: 47.89 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.1248, allocations: 177.6 kB / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.125, allocations: 82.55 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.125, allocations: 32.84 kB / 445.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.1253, allocations: 113.1 kB / 445.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1254, allocations: 34.56 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1254, allocations: 0 / 445.8 MB, free: 10.18 MB / 382.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.1418/0.2672, allocations: 5.835 MB / 451.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.2673, allocations: 59.34 kB / 451.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.2674, allocations: 93.86 kB / 451.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.2674, allocations: 29.7 kB / 451.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.2675, allocations: 84.52 kB / 451.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.2675, allocations: 74.84 kB / 451.9 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.2676, allocations: 21.72 kB / 451.9 MB, free: 3.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2678, allocations: 326.9 kB / 452.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.2681, allocations: 135.9 kB / 452.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2685, allocations: 143.8 kB / 452.5 MB, free: 3.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2701, allocations: 365.2 kB / 452.9 MB, free: 2.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2701, allocations: 4 kB / 452.9 MB, free: 2.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001294/0.2714, allocations: 401 kB / 453.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2714, allocations: 11.94 kB / 453.3 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2714, allocations: 0 / 453.3 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2714, allocations: 0 / 453.3 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.2718, allocations: 99.91 kB / 453.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.2719, allocations: 4 kB / 453.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.2721, allocations: 35.91 kB / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2721, allocations: 23.92 kB / 453.5 MB, free: 2.367 MB / 382.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.0001249/0.2723, allocations: 121.8 kB / 453.6 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2723, allocations: 7.906 kB / 453.6 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.2738, allocations: 473.8 kB / 454 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2738, allocations: 4 kB / 454.1 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2738, allocations: 0 / 454.1 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2738, allocations: 0 / 454.1 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.2762, allocations: 0.8819 MB / 454.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2762, allocations: 0 / 454.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.2765, allocations: 88 kB / 455 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2765, allocations: 3.984 kB / 455 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2765, allocations: 8 kB / 455 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2765, allocations: 0 / 455 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2765, allocations: 4 kB / 455 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2777, allocations: 476.7 kB / 455.5 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.2778, allocations: 85.02 kB / 455.6 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.2778, allocations: 8 kB / 455.6 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.278, allocations: 39.95 kB / 455.6 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2781, allocations: 11.98 kB / 455.6 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2781, allocations: 19.98 kB / 455.7 MB, free: 40 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2328/0.5109, allocations: 75.28 kB / 455.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.511, allocations: 0 / 455.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001926/0.5129, allocations: 0.6281 MB / 456.4 MB, free: 45.71 MB / 382.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.003353/0.5163, allocations: 305.6 kB / 456.7 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.5173, allocations: 308.3 kB / 457 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.5173, allocations: 0.6875 kB / 457 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.5177, allocations: 160.7 kB / 457.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.518, allocations: 8.594 kB / 457.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.5189, allocations: 416.5 kB / 457.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.5191, allocations: 0.6953 MB / 458.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.5194, allocations: 74.97 kB / 458.3 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5195, allocations: 47.16 kB / 458.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5195, allocations: 3.875 kB / 458.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of Templates: time 0.07713/0.5967, allocations: 53.84 MB / 0.5002 GB, free: 21.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches