Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001336/0.001336, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001619/0.001619, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2467/0.2467, allocations: 44.94 MB / 359.6 MB, free: 6.062 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.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 65.48 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001934/0.3519, allocations: 0.5226 MB / 0.5587 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.3527, allocations: 378.9 kB / 0.5591 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3528, allocations: 0 / 0.5591 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.3528, allocations: 0 / 0.5591 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.3528, allocations: 3.938 kB / 0.5591 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.3534, allocations: 139.4 kB / 0.5592 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.3535, allocations: 31.86 kB / 0.5592 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.3535, allocations: 4 kB / 0.5592 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.3536, allocations: 15.92 kB / 0.5592 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.3536, allocations: 15.92 kB / 0.5593 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3536, allocations: 0 / 0.5593 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.3539, allocations: 135.8 kB / 0.5594 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3539, allocations: 11.97 kB / 0.5594 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.354, allocations: 11.94 kB / 0.5594 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3542, allocations: 118.1 kB / 0.5595 GB, free: 6.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3542, allocations: 0 / 0.5595 GB, free: 6.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3542, allocations: 4 kB / 0.5595 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3542, allocations: 4 kB / 0.5595 GB, free: 6.086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005075/0.3548, allocations: 297.9 kB / 0.5598 GB, free: 5.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3548, allocations: 8.031 kB / 0.5598 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3548, allocations: 4.938 kB / 0.5598 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.355, allocations: 106.5 kB / 0.5599 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.355, allocations: 4.375 kB / 0.5599 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.355, allocations: 12.36 kB / 0.56 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3552, allocations: 54.19 kB / 0.56 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3552, allocations: 3.938 kB / 0.56 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3552, allocations: 0 / 0.56 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3552, allocations: 7.938 kB / 0.56 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.3553, allocations: 27.97 kB / 0.56 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3554, allocations: 117.3 kB / 0.5602 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.3557, allocations: 58.58 kB / 0.5602 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.3557, allocations: 16.86 kB / 0.5602 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.356, allocations: 35.95 kB / 0.5603 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.356, allocations: 34.56 kB / 0.5603 GB, free: 5.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.356, allocations: 0 / 0.5603 GB, free: 5.203 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1408/0.4968, allocations: 6.38 MB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.4968, allocations: 55.41 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4969, allocations: 105.8 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.497, allocations: 29.7 kB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.497, allocations: 84.14 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.4971, allocations: 63.42 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.4973, allocations: 89.59 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4975, allocations: 322.8 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.498, allocations: 231.8 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.4986, allocations: 234.7 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.5007, allocations: 0.5551 MB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5007, allocations: 0 / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001848/0.5025, allocations: 0.6082 MB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5025, allocations: 6.656 kB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5026, allocations: 8 kB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5026, allocations: 256 / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.5032, allocations: 111.8 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5032, allocations: 4 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.5037, allocations: 23.95 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.5037, allocations: 36.41 kB / 0.569 GB, free: 12.19 MB / 414.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 (19): * Single equations (assignments): 19 * 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.0001782/0.5039, allocations: 117.8 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.504, allocations: 7.953 kB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.5061, allocations: 0.7357 MB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5062, allocations: 4 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5062, allocations: 7.875 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5062, allocations: 0 / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.5102, allocations: 1.048 MB / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5102, allocations: 0 / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.5107, allocations: 99.8 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.5107, allocations: 7.922 kB / 0.571 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.5108, allocations: 31.95 kB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5108, allocations: 192 / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.5108, allocations: 8 kB / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5125, allocations: 0.5807 MB / 0.5716 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.5125, allocations: 15.88 kB / 0.5716 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.5126, allocations: 4 kB / 0.5716 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.513, allocations: 27.97 kB / 0.5716 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.513, allocations: 23.95 kB / 0.5716 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.5131, allocations: 27.95 kB / 0.5717 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.5131, allocations: 79.28 kB / 0.5718 GB, free: 9.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5131, allocations: 0 / 0.5718 GB, free: 9.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001874/0.515, allocations: 0.6519 MB / 0.5724 GB, free: 8.617 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.003343/0.5183, allocations: 290.5 kB / 0.5727 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.5196, allocations: 443.5 kB / 0.5731 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5196, allocations: 4 kB / 0.5731 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.5202, allocations: 196.1 kB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.5205, allocations: 15.94 kB / 0.5733 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5232, allocations: 0.5503 MB / 0.5738 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5234, allocations: 79.56 kB / 0.5739 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.5237, allocations: 91.28 kB / 0.574 GB, free: 6.879 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5237, allocations: 0 / 0.574 GB, free: 6.879 MB / 414.1 MB Notification: Performance of Templates: time 0.0284/0.5521, allocations: 15.99 MB / 0.5896 GB, free: 6.914 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 11.040444533340633]