Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001957/0.001957, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002348/0.002348, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.91 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 65.47 MB / 0.5582 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001866/0.3229, allocations: 0.5336 MB / 0.5587 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.3237, allocations: 338.8 kB / 0.559 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.3237, allocations: 0 / 0.559 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.3237, allocations: 0 / 0.559 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.3238, allocations: 7.938 kB / 0.559 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.3242, allocations: 107.6 kB / 0.5591 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.3243, allocations: 27.86 kB / 0.5592 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.3244, allocations: 11.78 kB / 0.5592 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.3244, allocations: 11.94 kB / 0.5592 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.3245, allocations: 15.91 kB / 0.5592 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3245, allocations: 4 kB / 0.5592 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3247, allocations: 107.9 kB / 0.5593 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.3248, allocations: 11.98 kB / 0.5593 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.3248, allocations: 19.86 kB / 0.5593 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.325, allocations: 94.28 kB / 0.5594 GB, free: 6.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.325, allocations: 0 / 0.5594 GB, free: 6.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.325, allocations: 0 / 0.5594 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.325, allocations: 0 / 0.5594 GB, free: 6.121 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.0004582/0.3255, allocations: 290 kB / 0.5597 GB, free: 5.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3255, allocations: 8.031 kB / 0.5597 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.3255, allocations: 4.938 kB / 0.5597 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3257, allocations: 114.5 kB / 0.5598 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3257, allocations: 4.375 kB / 0.5598 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.3257, allocations: 8.359 kB / 0.5598 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3258, allocations: 58.12 kB / 0.5599 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3259, allocations: 4.188 kB / 0.5599 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3259, allocations: 3.938 kB / 0.5599 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3259, allocations: 4 kB / 0.5599 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.326, allocations: 31.97 kB / 0.5599 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.3261, allocations: 113.3 kB / 0.56 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3264, allocations: 54.58 kB / 0.5601 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.3264, allocations: 24.84 kB / 0.5601 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.3266, allocations: 35.95 kB / 0.5602 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3267, allocations: 30.56 kB / 0.5602 GB, free: 5.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3267, allocations: 0 / 0.5602 GB, free: 5.234 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.04216/0.3688, allocations: 2.576 MB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3689, allocations: 51.41 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.369, allocations: 105.8 kB / 0.5628 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.369, allocations: 29.7 kB / 0.5629 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.3691, allocations: 83.89 kB / 0.563 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.3692, allocations: 67.42 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3693, allocations: 61.67 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3695, allocations: 318.8 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.3699, allocations: 175.9 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.3703, allocations: 181.7 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3713, allocations: 420.6 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3713, allocations: 0 / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001099/0.3724, allocations: 464.8 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3725, allocations: 4 kB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3725, allocations: 0 / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3725, allocations: 0 / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.3729, allocations: 71.88 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3729, allocations: 3.938 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3731, allocations: 23.97 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.3731, allocations: 16.23 kB / 0.5647 GB, free: 0.5352 MB / 398.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.0001488/0.3733, allocations: 125.8 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.3733, allocations: 7.953 kB / 0.5648 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3747, allocations: 0.5369 MB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3747, allocations: 4 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3747, allocations: 3.984 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3747, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.3769, allocations: 0.7874 MB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3769, allocations: 0 / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3772, allocations: 71.88 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3772, allocations: 7.938 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.3772, allocations: 16.17 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3772, allocations: 8 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3772, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009862/0.3782, allocations: 460.4 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.3783, allocations: 7.953 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3783, allocations: 16.41 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3785, allocations: 19.97 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.3785, allocations: 11.98 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3785, allocations: 15.98 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.3786, allocations: 83.28 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3786, allocations: 3.938 kB / 0.5668 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.3795, allocations: 323.5 kB / 0.5671 GB, free: 13.93 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.001324/0.3808, allocations: 230.8 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.3817, allocations: 333.5 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3817, allocations: 7.938 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.3821, allocations: 140.2 kB / 0.5678 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3824, allocations: 22.58 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3838, allocations: 439.9 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.3839, allocations: 75.56 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3841, allocations: 55.41 kB / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 1.432e-06/0.3841, allocations: 0 / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.01187/0.3959, allocations: 6.575 MB / 0.5748 GB, free: 6.078 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.839368924032897]