Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003749/0.003749, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.844/0.844, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.881e-05, allocations: 6.281 kB / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009306/0.0009494, allocations: 0.5322 MB / 444 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.001479, allocations: 370.9 kB / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.001502, allocations: 0 / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.001518, allocations: 3.938 kB / 444.3 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.052e-05/0.001538, allocations: 0 / 444.3 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.001909, allocations: 143.4 kB / 444.5 MB, free: 144 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.001964, allocations: 27.92 kB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.002004, allocations: 7.984 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.002037, allocations: 23.97 kB / 444.5 MB, free: 84 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.002081, allocations: 15.92 kB / 444.5 MB, free: 68 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.002092, allocations: 0 / 444.5 MB, free: 68 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1628/0.1649, allocations: 131.7 kB / 444.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.1649, allocations: 9.688 kB / 444.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.1649, allocations: 12.75 kB / 444.7 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1652, allocations: 154.5 kB / 444.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1652, allocations: 0 / 444.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1652, allocations: 0 / 444.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1652, allocations: 1.781 kB / 444.8 MB, free: 43.74 MB / 410.7 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.0003895/0.1656, allocations: 290.5 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1657, allocations: 10.44 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1657, allocations: 4.906 kB / 445.1 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.328e-05/0.1658, allocations: 110.8 kB / 445.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1658, allocations: 8.969 kB / 445.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1658, allocations: 11.39 kB / 445.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1659, allocations: 60.86 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1659, allocations: 5.719 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1659, allocations: 4.375 kB / 445.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1659, allocations: 4.125 kB / 445.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.166, allocations: 45.39 kB / 445.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.1661, allocations: 125.5 kB / 445.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1662, allocations: 78.09 kB / 445.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.1662, allocations: 31.38 kB / 445.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.1664, allocations: 23.84 kB / 445.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1664, allocations: 36.41 kB / 445.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1664, allocations: 0 / 445.7 MB, free: 43.11 MB / 410.7 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.05683/0.2233, allocations: 5.621 MB / 451.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2233, allocations: 57.62 kB / 451.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.366e-05/0.2234, allocations: 96.16 kB / 451.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2234, allocations: 29.08 kB / 451.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.2234, allocations: 80.52 kB / 451.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.2235, allocations: 76.47 kB / 451.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.2235, allocations: 59.38 kB / 451.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2236, allocations: 324.8 kB / 452 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.2238, allocations: 109.6 kB / 452.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.224, allocations: 113.9 kB / 452.2 MB, free: 41.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.2247, allocations: 331.2 kB / 452.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2247, allocations: 3.938 kB / 452.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006237/0.2253, allocations: 354.8 kB / 452.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2253, allocations: 11.44 kB / 452.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2253, allocations: 0 / 452.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2253, allocations: 4 kB / 452.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2255, allocations: 85.62 kB / 453 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2255, allocations: 0 / 453 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.2256, allocations: 24.64 kB / 453 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2256, allocations: 17.95 kB / 453 MB, free: 41.87 MB / 410.7 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 7.232e-05/0.2257, allocations: 124.5 kB / 453.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.2257, allocations: 13.98 kB / 453.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.2265, allocations: 426.1 kB / 453.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2265, allocations: 6.172 kB / 453.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2265, allocations: 2.781 kB / 453.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2265, allocations: 0 / 453.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.2282, allocations: 0.7105 MB / 454.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2282, allocations: 0 / 454.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.2284, allocations: 69.17 kB / 454.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2284, allocations: 6 kB / 454.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2284, allocations: 18.91 kB / 454.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2284, allocations: 2.719 kB / 454.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2284, allocations: 3.938 kB / 454.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.2293, allocations: 419.9 kB / 454.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.2293, allocations: 6.953 kB / 454.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.2293, allocations: 6.906 kB / 454.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2294, allocations: 40.2 kB / 454.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.2295, allocations: 16.38 kB / 454.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.2295, allocations: 14.47 kB / 454.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.742e-05/0.2295, allocations: 75.28 kB / 455 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2295, allocations: 0 / 455 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001841/0.2314, allocations: 0.6291 MB / 455.6 MB, free: 40.95 MB / 410.7 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.002886/0.2342, allocations: 320.5 kB / 455.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.2349, allocations: 252.8 kB / 456.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2349, allocations: 0 / 456.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.2351, allocations: 132.1 kB / 456.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2354, allocations: 10.28 kB / 456.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.2362, allocations: 361.9 kB / 456.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.2362, allocations: 82.33 kB / 456.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2364, allocations: 53.31 kB / 456.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.113e-06/0.2364, allocations: 0 / 456.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of Templates: time 0.0195/0.2559, allocations: 14.2 MB / 471 MB, free: 39.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.461118660867214]