Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.00189/0.00189, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002457/0.002457, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2396/0.2396, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 83.88 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3274, allocations: 66.09 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.002208/0.3296, allocations: 0.5266 MB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3307, allocations: 334.8 kB / 0.562 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.3307, allocations: 4 kB / 0.562 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.3307, allocations: 3.938 kB / 0.562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.3308, allocations: 0 / 0.562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3313, allocations: 111 kB / 0.5621 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.3314, allocations: 27.86 kB / 0.5621 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.3315, allocations: 11.8 kB / 0.5621 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.3315, allocations: 11.98 kB / 0.5622 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.3316, allocations: 19.86 kB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3316, allocations: 3.984 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3319, allocations: 111.9 kB / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.3319, allocations: 0 / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.332, allocations: 15.92 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3322, allocations: 102.2 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3322, allocations: 0 / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3322, allocations: 0 / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3322, allocations: 0 / 0.5624 GB, free: 2.688 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.0005566/0.3328, allocations: 294 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3328, allocations: 12.03 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3329, allocations: 0.9375 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.333, allocations: 110.5 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.333, allocations: 8.375 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.333, allocations: 384 / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3332, allocations: 62.11 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3332, allocations: 4.188 kB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.3332, allocations: 3.938 kB / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3332, allocations: 0 / 0.5629 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3334, allocations: 31.98 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3336, allocations: 113.2 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3339, allocations: 58.58 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3339, allocations: 24.84 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.3342, allocations: 27.97 kB / 0.5631 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.3343, allocations: 38.55 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3343, allocations: 0 / 0.5632 GB, free: 1.801 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.05214/0.3864, allocations: 2.579 MB / 0.5657 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3865, allocations: 59.41 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.3866, allocations: 97.86 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3866, allocations: 25.7 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.3867, allocations: 95.88 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.3868, allocations: 63.42 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3869, allocations: 57.69 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3871, allocations: 322.8 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.3875, allocations: 171.9 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.3879, allocations: 179.9 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.3889, allocations: 416.6 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.389, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001107/0.3901, allocations: 468 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3901, allocations: 6.812 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3901, allocations: 0 / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3901, allocations: 4 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.3905, allocations: 71.88 kB / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3905, allocations: 7.984 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3907, allocations: 15.98 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.3907, allocations: 15.98 kB / 0.5677 GB, free: 13.1 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.0001449/0.3909, allocations: 121.8 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.3909, allocations: 11.94 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3923, allocations: 0.5407 MB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3923, allocations: 0 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3923, allocations: 0 / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3923, allocations: 4 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.3946, allocations: 0.7874 MB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3946, allocations: 4.188 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.3949, allocations: 72.12 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.3949, allocations: 7.938 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.3949, allocations: 20 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3949, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.3949, allocations: 7.984 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.3959, allocations: 459 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.3959, allocations: 12.41 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.396, allocations: 11.94 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3962, allocations: 15.98 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.3962, allocations: 19.91 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.3962, allocations: 19.98 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.3963, allocations: 87.22 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3963, allocations: 4 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009086/0.3972, allocations: 315.6 kB / 0.5701 GB, free: 10.49 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.001311/0.3985, allocations: 230.8 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008596/0.3994, allocations: 335.6 kB / 0.5706 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3994, allocations: 0 / 0.5706 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.3997, allocations: 131.8 kB / 0.5708 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4, allocations: 15.94 kB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4014, allocations: 414.5 kB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.4014, allocations: 75.56 kB / 0.5712 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.4018, allocations: 101 kB / 0.5713 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4019, allocations: 47.41 kB / 0.5714 GB, free: 9.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4019, allocations: 0 / 0.5714 GB, free: 9.09 MB / 414.1 MB Notification: Performance of Templates: time 0.02671/0.4287, allocations: 18.06 MB / 0.589 GB, free: 7.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.2857169304043055]