Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001962/0.001962, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002492/0.002492, allocations: 206.8 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 258.1 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 79.88 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3332, allocations: 66.08 MB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001759/0.335, allocations: 0.5289 MB / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.3358, allocations: 366.9 kB / 0.5628 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3359, allocations: 0 / 0.5628 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.3359, allocations: 0 / 0.5628 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.3359, allocations: 3.938 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.3364, allocations: 147.3 kB / 0.5629 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.3365, allocations: 23.92 kB / 0.5629 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3365, allocations: 4 kB / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.3366, allocations: 11.98 kB / 0.563 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.3366, allocations: 23.86 kB / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3366, allocations: 4 kB / 0.563 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.3369, allocations: 135.8 kB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3369, allocations: 0 / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.3369, allocations: 15.88 kB / 0.5631 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.3371, allocations: 130.2 kB / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3371, allocations: 0 / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3371, allocations: 0 / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3371, allocations: 0 / 0.5633 GB, free: 2.57 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.0004402/0.3376, allocations: 289.9 kB / 0.5635 GB, free: 2.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3376, allocations: 20.02 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3376, allocations: 0.9375 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3378, allocations: 114.4 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3378, allocations: 4.375 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3378, allocations: 4.375 kB / 0.5637 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3379, allocations: 58.17 kB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3379, allocations: 7.938 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3379, allocations: 0 / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3379, allocations: 0 / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.338, allocations: 27.98 kB / 0.5638 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.3382, allocations: 105.3 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3384, allocations: 66.56 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.3384, allocations: 24.84 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.3387, allocations: 27.97 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3387, allocations: 34.56 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3387, allocations: 0 / 0.564 GB, free: 1.691 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.1417/0.4804, allocations: 6.401 MB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4805, allocations: 55.41 kB / 0.5703 GB, free: 11.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.4806, allocations: 113.8 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.4806, allocations: 25.7 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.4807, allocations: 84.14 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.4808, allocations: 63.44 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.4809, allocations: 85.59 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4811, allocations: 326.8 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.4816, allocations: 224.3 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.4822, allocations: 235.7 kB / 0.5714 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.4844, allocations: 0.5551 MB / 0.572 GB, free: 9.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4844, allocations: 0 / 0.572 GB, free: 9.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001882/0.4863, allocations: 0.6127 MB / 0.5726 GB, free: 8.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4863, allocations: 7.938 kB / 0.5726 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4863, allocations: 3.984 kB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.4863, allocations: 4 kB / 0.5726 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.487, allocations: 111.8 kB / 0.5727 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.487, allocations: 0 / 0.5727 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4875, allocations: 23.97 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.4875, allocations: 31.94 kB / 0.5727 GB, free: 8.664 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.0001695/0.4877, allocations: 121.8 kB / 0.5728 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.4878, allocations: 7.953 kB / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.49, allocations: 0.7318 MB / 0.5736 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.49, allocations: 4 kB / 0.5736 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.49, allocations: 0 / 0.5736 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4901, allocations: 4.234 kB / 0.5736 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.4941, allocations: 1.044 MB / 0.5746 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4942, allocations: 8 kB / 0.5746 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.4947, allocations: 95.8 kB / 0.5747 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4947, allocations: 7.938 kB / 0.5747 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.4948, allocations: 27.95 kB / 0.5747 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4948, allocations: 4 kB / 0.5747 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4948, allocations: 4 kB / 0.5747 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.4965, allocations: 0.5883 MB / 0.5753 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.4966, allocations: 11.89 kB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.4966, allocations: 8 kB / 0.5753 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.497, allocations: 23.95 kB / 0.5753 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4971, allocations: 15.98 kB / 0.5754 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.4971, allocations: 31.95 kB / 0.5754 GB, free: 5.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.4972, allocations: 87.27 kB / 0.5755 GB, free: 5.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4972, allocations: 3.938 kB / 0.5755 GB, free: 5.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001779/0.499, allocations: 0.648 MB / 0.5761 GB, free: 5.094 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.00338/0.5023, allocations: 290.6 kB / 0.5764 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.5037, allocations: 443.5 kB / 0.5768 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.5037, allocations: 3.938 kB / 0.5768 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.5043, allocations: 187.8 kB / 0.577 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.5046, allocations: 19.92 kB / 0.577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.507, allocations: 0.5507 MB / 0.5776 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.5071, allocations: 83.56 kB / 0.5776 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.5074, allocations: 83.3 kB / 0.5777 GB, free: 3.363 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5074, allocations: 0 / 0.5777 GB, free: 3.363 MB / 414.1 MB Notification: Performance of Templates: time 0.02617/0.5336, allocations: 15.98 MB / 0.5933 GB, free: 3.379 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.981776364613324]