Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.00149/0.00149, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001573/0.001573, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3411/0.3411, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.676e-05, allocations: 2.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001516/0.001543, allocations: 0.5089 MB / 377.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.001849, allocations: 91.61 kB / 377.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.001869, allocations: 0 / 377.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.00188, allocations: 0 / 377.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.001908, allocations: 4 kB / 377.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.002099, allocations: 19.91 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.002157, allocations: 11.98 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.002192, allocations: 8 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.002233, allocations: 3.984 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.002279, allocations: 7.938 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.002292, allocations: 0 / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.002375, allocations: 31.97 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.002393, allocations: 7.969 kB / 378 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.002416, allocations: 4 kB / 378 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.00251, allocations: 23.91 kB / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002512, allocations: 0 / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002513, allocations: 0 / 378 MB, free: 2.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002516, allocations: 0 / 378 MB, free: 2.277 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004024/0.002919, allocations: 254.4 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.002954, allocations: 11.97 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.002994, allocations: 8.891 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.003109, allocations: 109.7 kB / 378.4 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.003126, allocations: 8.312 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.003134, allocations: 384 / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003257, allocations: 51.97 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003265, allocations: 192 / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.003275, allocations: 4.359 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.003279, allocations: 4.375 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.003324, allocations: 15.94 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.003657, allocations: 268.8 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.003721, allocations: 22.58 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.003766, allocations: 20.94 kB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.003782, allocations: 0 / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.003816, allocations: 30.56 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.003817, allocations: 0 / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.004028, allocations: 65.75 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.004074, allocations: 51.41 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.004167, allocations: 97.86 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.004188, allocations: 25.7 kB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.004248, allocations: 88.08 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.004271, allocations: 19.89 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.004308, allocations: 17.72 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.004476, allocations: 310.8 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.004511, allocations: 4 kB / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.004546, allocations: 21.7 kB / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.004612, allocations: 37.64 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.004614, allocations: 128 / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.004722, allocations: 61.62 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004735, allocations: 4 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.004742, allocations: 3.938 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.004758, allocations: 0 / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.004824, allocations: 11.98 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.004828, allocations: 0 / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.004859, allocations: 11.94 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.004865, allocations: 3.938 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 8.992e-05/0.004955, allocations: 109.8 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.004978, allocations: 4.156 kB / 379.7 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.005121, allocations: 77.2 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005123, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.005127, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005129, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.005281, allocations: 109.3 kB / 379.9 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005281, allocations: 0 / 379.9 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.005321, allocations: 4 kB / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.005322, allocations: 0 / 379.9 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.005328, allocations: 4 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.005332, allocations: 3.938 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005333, allocations: 4 kB / 379.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.005529, allocations: 151.6 kB / 380 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.005535, allocations: 0 / 380 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.005548, allocations: 3.984 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.005601, allocations: 7.875 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.00563, allocations: 4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005633, allocations: 0 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.178e-05/0.005685, allocations: 79.28 kB / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005685, allocations: 0 / 380.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.005912, allocations: 8 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001395/0.006052, allocations: 103.3 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.00615, allocations: 20 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006151, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.006189, allocations: 19.92 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.006418, allocations: 7.938 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.006682, allocations: 116.6 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.006753, allocations: 63.34 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.006784, allocations: 4.312 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.006811, allocations: 12.5 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006812, allocations: 3.938 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Templates: time 0.002915/0.009727, allocations: 485.8 kB / 381 MB, free: 14.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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: 4.607823700061999]