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.001414/0.001414, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00151/0.00151, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.3698/0.3698, allocations: 46.96 MB / 360.9 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 179] 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.00211/0.00211, allocations: 63.91 kB / 0.4966 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2987, allocations: 66.03 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001612/0.3003, allocations: 0.5373 MB / 0.5616 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.3011, allocations: 334.9 kB / 0.5619 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3011, allocations: 3.938 kB / 0.5619 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.3011, allocations: 3.938 kB / 0.5619 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.3011, allocations: 7.938 kB / 0.5619 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3015, allocations: 107.6 kB / 0.562 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.3016, allocations: 23.97 kB / 0.562 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.3016, allocations: 3.797 kB / 0.5621 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.3017, allocations: 15.94 kB / 0.5621 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.3017, allocations: 11.92 kB / 0.5621 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3017, allocations: 0 / 0.5621 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.302, allocations: 119.9 kB / 0.5622 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.302, allocations: 7.938 kB / 0.5622 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.302, allocations: 15.92 kB / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3022, allocations: 98.27 kB / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3022, allocations: 0 / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3022, allocations: 4 kB / 0.5623 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3022, allocations: 0 / 0.5623 GB, free: 2.93 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.000425/0.3026, allocations: 290 kB / 0.5626 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3027, allocations: 8.031 kB / 0.5626 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.3027, allocations: 0.9375 kB / 0.5626 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3028, allocations: 118.4 kB / 0.5627 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3028, allocations: 8.375 kB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3028, allocations: 384 / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.303, allocations: 62.17 kB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.303, allocations: 192 / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.303, allocations: 7.938 kB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.303, allocations: 0 / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.3031, allocations: 27.92 kB / 0.5628 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.3032, allocations: 121.2 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3035, allocations: 54.53 kB / 0.563 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.3035, allocations: 24.84 kB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3037, allocations: 31.97 kB / 0.563 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3038, allocations: 34.78 kB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3038, allocations: 0 / 0.5631 GB, free: 2.043 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.04383/0.3476, allocations: 2.572 MB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3476, allocations: 59.39 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.996e-05/0.3477, allocations: 97.86 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3478, allocations: 29.7 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.3478, allocations: 87.89 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.3479, allocations: 67.42 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.348, allocations: 61.69 kB / 0.566 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3482, allocations: 314.8 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.3486, allocations: 171.9 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.349, allocations: 178.1 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3501, allocations: 424.5 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3501, allocations: 0 / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001121/0.3513, allocations: 471.2 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3513, allocations: 4 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3513, allocations: 0 / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3513, allocations: 4 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.3517, allocations: 67.94 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3517, allocations: 0 / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3519, allocations: 15.98 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.352, allocations: 19.98 kB / 0.5676 GB, free: 13.35 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.0001317/0.3521, allocations: 125.7 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3521, allocations: 7.953 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.3535, allocations: 0.5396 MB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3535, allocations: 4 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3535, allocations: 0 / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3535, allocations: 0 / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.3558, allocations: 0.7983 MB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3558, allocations: 4 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.3561, allocations: 64.2 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.3561, allocations: 7.938 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3561, allocations: 19.98 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3561, allocations: 8.188 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3561, allocations: 3.938 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/0.3571, allocations: 452.4 kB / 0.5695 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3571, allocations: 11.94 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.3572, allocations: 15.94 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3574, allocations: 20.45 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3574, allocations: 19.91 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3575, allocations: 12 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.3575, allocations: 87.27 kB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3575, allocations: 0 / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.3584, allocations: 315.5 kB / 0.57 GB, free: 10.75 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.001315/0.3597, allocations: 242.6 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.3605, allocations: 331.7 kB / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3605, allocations: 0 / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.3609, allocations: 144.2 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3612, allocations: 11.94 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3625, allocations: 414.2 kB / 0.5711 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.806e-05/0.3626, allocations: 79.56 kB / 0.5712 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.3629, allocations: 92.97 kB / 0.5713 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3631, allocations: 51.41 kB / 0.5713 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3631, allocations: 0 / 0.5713 GB, free: 9.332 MB / 414.1 MB Notification: Performance of Templates: time 0.02582/0.3889, allocations: 18.06 MB / 0.5889 GB, free: 7.293 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/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: 5.416395775973797]