Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001346/0.001346, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.001519/0.001519, allocations: 209.1 kB / 24.48 MB, free: 3.965 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.72/1.72, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 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.2196/0.2196, allocations: 46.98 MB / 361.6 MB, free: 4.035 MB / 286.1 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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001718/0.316, allocations: 0.5255 MB / 0.5623 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.3167, allocations: 334.8 kB / 0.5626 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3167, allocations: 4 kB / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3168, allocations: 0 / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.3168, allocations: 7.938 kB / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3172, allocations: 103.6 kB / 0.5628 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.3173, allocations: 27.91 kB / 0.5628 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3173, allocations: 7.797 kB / 0.5628 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.3173, allocations: 8 kB / 0.5628 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.3174, allocations: 19.86 kB / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3174, allocations: 8 kB / 0.5628 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.3176, allocations: 123.9 kB / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3176, allocations: 0 / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3177, allocations: 19.86 kB / 0.563 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3178, allocations: 98.27 kB / 0.5631 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3179, allocations: 3.938 kB / 0.5631 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3179, allocations: 0 / 0.5631 GB, free: 2.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3179, allocations: 0 / 0.5631 GB, free: 2.887 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.000461/0.3183, allocations: 290 kB / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3184, allocations: 12.03 kB / 0.5633 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.3184, allocations: 8.875 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3185, allocations: 114.5 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3185, allocations: 4.375 kB / 0.5635 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3185, allocations: 4.375 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3187, allocations: 58.17 kB / 0.5635 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3187, allocations: 4.188 kB / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3187, allocations: 3.938 kB / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3187, allocations: 0 / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3188, allocations: 27.98 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3189, allocations: 117.2 kB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3191, allocations: 50.59 kB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.3192, allocations: 32.84 kB / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.3194, allocations: 23.97 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3195, allocations: 34.56 kB / 0.5638 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.3195, allocations: 3.984 kB / 0.5638 GB, free: 2 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.04534/0.3648, allocations: 2.577 MB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3649, allocations: 51.41 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.365, allocations: 101.9 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.365, allocations: 29.7 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.365, allocations: 87.89 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/0.3651, allocations: 67.42 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.3653, allocations: 61.69 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3654, allocations: 314.8 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3658, allocations: 171.9 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.3662, allocations: 175.9 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3673, allocations: 430.9 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3673, allocations: 0 / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001114/0.3684, allocations: 463.6 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3684, allocations: 4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3684, allocations: 0 / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3684, allocations: 0 / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.3689, allocations: 71.88 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3689, allocations: 4.25 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3691, allocations: 19.98 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.3692, allocations: 23.97 kB / 0.5683 GB, free: 13.3 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.0001362/0.3693, allocations: 121.8 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.3693, allocations: 7.953 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.3707, allocations: 0.5407 MB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3707, allocations: 0 / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3707, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3707, allocations: 0 / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.373, allocations: 0.7952 MB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.373, allocations: 4 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3733, allocations: 67.89 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.3733, allocations: 16.58 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.3734, allocations: 12 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3734, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.3734, allocations: 4 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.3743, allocations: 456.4 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.3744, allocations: 19.88 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.3744, allocations: 11.94 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3746, allocations: 19.98 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3746, allocations: 11.97 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.3747, allocations: 19.98 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.3747, allocations: 83.28 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3747, allocations: 0 / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009179/0.3756, allocations: 315.6 kB / 0.5707 GB, free: 10.7 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.001359/0.377, allocations: 238.7 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.3779, allocations: 329.9 kB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3779, allocations: 0 / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.3782, allocations: 144 kB / 0.5714 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3785, allocations: 13.97 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3799, allocations: 440 kB / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.14e-05/0.38, allocations: 79.56 kB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3802, allocations: 51.41 kB / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3802, allocations: 0 / 0.572 GB, free: 9.352 MB / 414.1 MB Notification: Performance of Templates: time 0.01121/0.3914, allocations: 6.582 MB / 0.5784 GB, free: 2.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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: 7.9001450869836845]