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.001826/0.001826, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002248/0.002248, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.232/0.232, allocations: 46.93 MB / 360.9 MB, free: 4.238 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.003032/0.003032, allocations: 67.89 kB / 0.4966 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3299, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001634/0.3315, allocations: 0.5381 MB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.3322, allocations: 374.6 kB / 0.562 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.3323, allocations: 4 kB / 0.562 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.3323, allocations: 4 kB / 0.562 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.3323, allocations: 3.938 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3327, allocations: 99.66 kB / 0.5621 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.3328, allocations: 23.92 kB / 0.5621 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3328, allocations: 7.797 kB / 0.5621 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.3329, allocations: 15.97 kB / 0.5622 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.3329, allocations: 23.86 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3329, allocations: 0 / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.3332, allocations: 119.9 kB / 0.5623 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.3332, allocations: 11.97 kB / 0.5623 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3332, allocations: 15.88 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3334, allocations: 90.28 kB / 0.5624 GB, free: 3.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3334, allocations: 3.938 kB / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3334, allocations: 0 / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.3334, allocations: 0 / 0.5624 GB, free: 3.082 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.0004404/0.3338, allocations: 294 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3339, allocations: 8.031 kB / 0.5627 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3339, allocations: 4.938 kB / 0.5627 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.334, allocations: 118.5 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.334, allocations: 4.375 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.3341, allocations: 8.359 kB / 0.5628 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3342, allocations: 58.17 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3342, allocations: 192 / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3342, allocations: 7.938 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3342, allocations: 0 / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.3343, allocations: 27.92 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.3345, allocations: 148.6 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3347, allocations: 54.59 kB / 0.5631 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3348, allocations: 28.84 kB / 0.5631 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.335, allocations: 27.95 kB / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.335, allocations: 34.56 kB / 0.5632 GB, free: 2.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/0.335, allocations: 4 kB / 0.5632 GB, free: 2.145 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.0432/0.3782, allocations: 2.567 MB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3783, allocations: 55.88 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3784, allocations: 105.8 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.3784, allocations: 29.7 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.3785, allocations: 83.89 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.3786, allocations: 63.44 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3787, allocations: 57.62 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3789, allocations: 326.8 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.3793, allocations: 175.9 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3797, allocations: 174 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3808, allocations: 426.8 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3808, allocations: 7.938 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001091/0.3819, allocations: 461.4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3819, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3819, allocations: 4 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3819, allocations: 0 / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3823, allocations: 71.88 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3823, allocations: 0 / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3825, allocations: 19.97 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.3826, allocations: 16 kB / 0.5677 GB, free: 13.45 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.0001419/0.3827, allocations: 125.8 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.3828, allocations: 7.953 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3841, allocations: 0.5368 MB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3841, allocations: 0 / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3841, allocations: 4 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3841, allocations: 7.984 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.3865, allocations: 0.8492 MB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.3865, allocations: 4.188 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3868, allocations: 71.88 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3868, allocations: 4 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.3868, allocations: 15.98 kB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3868, allocations: 4 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3868, allocations: 4 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3879, allocations: 470.6 kB / 0.5697 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3879, allocations: 7.953 kB / 0.5697 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.3879, allocations: 8 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3881, allocations: 19.97 kB / 0.5698 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3882, allocations: 11.98 kB / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3882, allocations: 19.98 kB / 0.5698 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.3882, allocations: 83.28 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3882, allocations: 4 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009556/0.3892, allocations: 319.6 kB / 0.5702 GB, free: 10.77 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.001372/0.3906, allocations: 246.5 kB / 0.5704 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008745/0.3914, allocations: 323.7 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3914, allocations: 4 kB / 0.5707 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.3918, allocations: 135.8 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3921, allocations: 22.33 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3935, allocations: 418.5 kB / 0.5713 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3939, allocations: 0.6965 MB / 0.572 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.3942, allocations: 88.98 kB / 0.5721 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.3944, allocations: 51.39 kB / 0.5721 GB, free: 8.734 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3944, allocations: 0 / 0.5721 GB, free: 8.734 MB / 414.1 MB Notification: Performance of Templates: time 0.02684/0.4212, allocations: 17.96 MB / 0.5896 GB, free: 6.809 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.502862823894247]