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.001913/0.001913, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00223/0.00223, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2127/0.2127, allocations: 44.9 MB / 359.6 MB, free: 6.277 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.002018/0.002018, allocations: 75.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 65.47 MB / 0.5582 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001608/0.3073, allocations: 0.5481 MB / 0.5588 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.3081, allocations: 374.7 kB / 0.5591 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.3081, allocations: 0 / 0.5591 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.3081, allocations: 0 / 0.5591 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.315e-05/0.3081, allocations: 3.938 kB / 0.5591 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.3085, allocations: 103.7 kB / 0.5592 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.3086, allocations: 31.89 kB / 0.5593 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3087, allocations: 3.797 kB / 0.5593 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.3087, allocations: 12 kB / 0.5593 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3087, allocations: 23.8 kB / 0.5593 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3087, allocations: 4 kB / 0.5593 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.309, allocations: 123.9 kB / 0.5594 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.309, allocations: 4 kB / 0.5594 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.309, allocations: 19.86 kB / 0.5595 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3092, allocations: 90.28 kB / 0.5595 GB, free: 6.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3092, allocations: 7.984 kB / 0.5595 GB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3092, allocations: 0 / 0.5595 GB, free: 6.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3092, allocations: 0 / 0.5595 GB, free: 6.387 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.0004311/0.3096, allocations: 290 kB / 0.5598 GB, free: 6.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3097, allocations: 12.03 kB / 0.5598 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3097, allocations: 0.9375 kB / 0.5598 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3098, allocations: 114.5 kB / 0.5599 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3098, allocations: 8.375 kB / 0.56 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3099, allocations: 4.375 kB / 0.56 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.31, allocations: 54.19 kB / 0.56 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.31, allocations: 192 / 0.56 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.31, allocations: 11.92 kB / 0.56 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.31, allocations: 0 / 0.56 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.3101, allocations: 23.98 kB / 0.56 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.3103, allocations: 144.7 kB / 0.5602 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3105, allocations: 66.45 kB / 0.5602 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.3105, allocations: 16.86 kB / 0.5603 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3108, allocations: 31.95 kB / 0.5603 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3108, allocations: 38.56 kB / 0.5603 GB, free: 5.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3108, allocations: 0 / 0.5603 GB, free: 5.461 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.04198/0.3528, allocations: 2.566 MB / 0.5628 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3528, allocations: 51.41 kB / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.3529, allocations: 105.8 kB / 0.563 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.353, allocations: 26.17 kB / 0.563 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.353, allocations: 87.89 kB / 0.5631 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.3531, allocations: 67.42 kB / 0.5632 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3532, allocations: 65.67 kB / 0.5632 GB, free: 2.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3534, allocations: 318.8 kB / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.3538, allocations: 179.8 kB / 0.5637 GB, free: 1.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.3542, allocations: 171.9 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3552, allocations: 423.2 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3552, allocations: 0 / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001083/0.3563, allocations: 469.3 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3563, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3563, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3563, allocations: 0 / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3567, allocations: 71.88 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.3567, allocations: 3.984 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.357, allocations: 24.23 kB / 0.5648 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.357, allocations: 19.98 kB / 0.5648 GB, free: 0.7617 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.0001246/0.3571, allocations: 117.8 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3572, allocations: 11.95 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.3585, allocations: 0.5383 MB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3585, allocations: 8 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3585, allocations: 0 / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3585, allocations: 0 / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.3608, allocations: 0.8572 MB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3608, allocations: 0 / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.3611, allocations: 71.88 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3611, allocations: 4 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3611, allocations: 15.98 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3611, allocations: 4 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3611, allocations: 0 / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009476/0.362, allocations: 474.9 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.3621, allocations: 11.95 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3621, allocations: 3.984 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3623, allocations: 19.98 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3623, allocations: 15.97 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3624, allocations: 20 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.3624, allocations: 83.27 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3624, allocations: 0 / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008941/0.3633, allocations: 315.6 kB / 0.5673 GB, free: 14.09 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.001327/0.3646, allocations: 242.6 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.3655, allocations: 331.7 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3655, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.3658, allocations: 139.8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3661, allocations: 11.19 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3674, allocations: 447.9 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3677, allocations: 0.6926 MB / 0.5691 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3679, allocations: 55.34 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3679, allocations: 0 / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.0105/0.3784, allocations: 6.553 MB / 0.5756 GB, free: 5.621 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.791347471065819]