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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 187.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 180] 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=5000,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=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 64.29 MB / 0.5488 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001669/0.3326, allocations: 0.5477 MB / 0.5493 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.3335, allocations: 414.2 kB / 0.5497 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.3335, allocations: 0 / 0.5497 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.3335, allocations: 3.938 kB / 0.5497 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.066e-05/0.3336, allocations: 0.9375 kB / 0.5497 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005443/0.3341, allocations: 158 kB / 0.5499 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.3342, allocations: 30.47 kB / 0.5499 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3342, allocations: 1.438 kB / 0.5499 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.3342, allocations: 16.14 kB / 0.5499 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.3343, allocations: 22.77 kB / 0.55 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3343, allocations: 2.75 kB / 0.55 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.3346, allocations: 159.2 kB / 0.5501 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3346, allocations: 6.5 kB / 0.5501 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.3346, allocations: 25.14 kB / 0.5501 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3349, allocations: 132.2 kB / 0.5503 GB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3349, allocations: 0 / 0.5503 GB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3349, allocations: 0 / 0.5503 GB, free: 12.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.3349, allocations: 0 / 0.5503 GB, free: 12.28 MB / 398.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.0004476/0.3353, allocations: 285.7 kB / 0.5505 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3353, allocations: 9.625 kB / 0.5506 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.3354, allocations: 7.812 kB / 0.5506 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3355, allocations: 109.1 kB / 0.5507 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3355, allocations: 9.688 kB / 0.5507 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3356, allocations: 16.72 kB / 0.5507 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3357, allocations: 63.77 kB / 0.5507 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3357, allocations: 9.609 kB / 0.5508 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3357, allocations: 4 kB / 0.5508 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3358, allocations: 1.531 kB / 0.5508 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.3358, allocations: 41.48 kB / 0.5508 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.3361, allocations: 141.5 kB / 0.5509 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3362, allocations: 91.81 kB / 0.551 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.3363, allocations: 21.33 kB / 0.551 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002361/0.3365, allocations: 35.02 kB / 0.5511 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3365, allocations: 35.88 kB / 0.5511 GB, free: 11.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3365, allocations: 0 / 0.5511 GB, free: 11.46 MB / 398.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.142/0.4785, allocations: 5.616 MB / 0.5566 GB, free: 7.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4786, allocations: 55.34 kB / 0.5567 GB, free: 7.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.4786, allocations: 97.86 kB / 0.5567 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.4787, allocations: 29.83 kB / 0.5568 GB, free: 7.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4787, allocations: 80.52 kB / 0.5568 GB, free: 7.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4788, allocations: 83.27 kB / 0.5569 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.4789, allocations: 61.67 kB / 0.557 GB, free: 7.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4791, allocations: 326.7 kB / 0.5573 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.4795, allocations: 119.8 kB / 0.5574 GB, free: 6.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.4798, allocations: 107.9 kB / 0.5575 GB, free: 6.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4813, allocations: 324.5 kB / 0.5578 GB, free: 6.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4813, allocations: 0 / 0.5578 GB, free: 6.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001271/0.4826, allocations: 360.1 kB / 0.5582 GB, free: 5.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4826, allocations: 8 kB / 0.5582 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4826, allocations: 0 / 0.5582 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4826, allocations: 0 / 0.5582 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.4831, allocations: 83.84 kB / 0.5583 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4831, allocations: 4 kB / 0.5583 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4833, allocations: 23.97 kB / 0.5583 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4833, allocations: 19.92 kB / 0.5583 GB, free: 5.68 MB / 398.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.0001385/0.4835, allocations: 121.8 kB / 0.5584 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.4835, allocations: 7.953 kB / 0.5584 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.485, allocations: 429.8 kB / 0.5588 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.485, allocations: 8 kB / 0.5588 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.485, allocations: 0 / 0.5588 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.485, allocations: 7.984 kB / 0.5589 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.4874, allocations: 0.7423 MB / 0.5596 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4874, allocations: 8 kB / 0.5596 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4877, allocations: 75.86 kB / 0.5597 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4877, allocations: 0 / 0.5597 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4877, allocations: 15.98 kB / 0.5597 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.4878, allocations: 4 kB / 0.5597 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4878, allocations: 0 / 0.5597 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.489, allocations: 431.4 kB / 0.5601 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.489, allocations: 7.953 kB / 0.5601 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.4891, allocations: 4 kB / 0.5601 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.4893, allocations: 23.97 kB / 0.5601 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4893, allocations: 23.84 kB / 0.5601 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4893, allocations: 15.98 kB / 0.5602 GB, free: 3.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.4894, allocations: 75.28 kB / 0.5602 GB, free: 3.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4894, allocations: 4.094 kB / 0.5602 GB, free: 3.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001865/0.4912, allocations: 0.6324 MB / 0.5609 GB, free: 2.969 MB / 398.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.002989/0.4942, allocations: 290.5 kB / 0.5611 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.4951, allocations: 267.4 kB / 0.5614 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4951, allocations: 0 / 0.5614 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.4955, allocations: 123.8 kB / 0.5615 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4957, allocations: 20.06 kB / 0.5615 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.4969, allocations: 328.9 kB / 0.5618 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4974, allocations: 0.7007 MB / 0.5625 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.4976, allocations: 77.08 kB / 0.5626 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4978, allocations: 47.41 kB / 0.5626 GB, free: 1.066 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4978, allocations: 0 / 0.5626 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Templates: time 0.07764/0.5754, allocations: 54 MB / 0.6154 GB, free: 11.03 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.898435682989657]