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.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002194/0.002194, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2273/0.2273, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.002149/0.002149, allocations: 77.75 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 65.46 MB / 0.5574 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00154/0.2942, allocations: 0.5292 MB / 0.558 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.2949, allocations: 342.8 kB / 0.5583 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.2949, allocations: 4 kB / 0.5583 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.2949, allocations: 0 / 0.5583 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.2949, allocations: 3.938 kB / 0.5583 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.2953, allocations: 107.3 kB / 0.5584 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.2954, allocations: 27.92 kB / 0.5584 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.2955, allocations: 3.797 kB / 0.5584 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.2955, allocations: 19.91 kB / 0.5585 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.2955, allocations: 15.92 kB / 0.5585 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2956, allocations: 0 / 0.5585 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.2958, allocations: 115.9 kB / 0.5586 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.2958, allocations: 11.94 kB / 0.5586 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.2958, allocations: 15.86 kB / 0.5586 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.296, allocations: 98.27 kB / 0.5587 GB, free: 6.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.296, allocations: 0 / 0.5587 GB, free: 6.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.296, allocations: 0 / 0.5587 GB, free: 6.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.296, allocations: 0 / 0.5587 GB, free: 6.211 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.0004199/0.2964, allocations: 294 kB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.2965, allocations: 8.031 kB / 0.559 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2965, allocations: 4.938 kB / 0.559 GB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2966, allocations: 110.5 kB / 0.5591 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2966, allocations: 4.375 kB / 0.5591 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.2966, allocations: 8.375 kB / 0.5591 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2968, allocations: 62.11 kB / 0.5592 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2968, allocations: 192 / 0.5592 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2968, allocations: 3.938 kB / 0.5592 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2968, allocations: 0 / 0.5592 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.2969, allocations: 23.98 kB / 0.5592 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.297, allocations: 121.2 kB / 0.5593 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2972, allocations: 54.59 kB / 0.5594 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.2973, allocations: 24.84 kB / 0.5594 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.2975, allocations: 31.95 kB / 0.5594 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2975, allocations: 38.55 kB / 0.5595 GB, free: 5.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2975, allocations: 3.938 kB / 0.5595 GB, free: 5.32 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.04207/0.3396, allocations: 2.568 MB / 0.562 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3397, allocations: 55.41 kB / 0.562 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.3398, allocations: 97.86 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3398, allocations: 33.7 kB / 0.5621 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.3398, allocations: 83.89 kB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-05/0.3399, allocations: 75.42 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3401, allocations: 53.69 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3402, allocations: 322.8 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.3406, allocations: 167.9 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.341, allocations: 175.9 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3421, allocations: 426.9 kB / 0.5634 GB, free: 1.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3421, allocations: 4 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001094/0.3432, allocations: 463.3 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3432, allocations: 8 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3432, allocations: 0 / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3432, allocations: 0 / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3436, allocations: 75.81 kB / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3436, allocations: 0 / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3438, allocations: 19.98 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.3439, allocations: 19.98 kB / 0.564 GB, free: 0.625 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.0001325/0.344, allocations: 117.8 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.344, allocations: 7.953 kB / 0.5641 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3454, allocations: 0.5407 MB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3454, allocations: 4 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3454, allocations: 4 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3454, allocations: 0 / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.3476, allocations: 0.7875 MB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3476, allocations: 0 / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3478, allocations: 71.88 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.3479, allocations: 4.125 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3479, allocations: 20 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3479, allocations: 4 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3479, allocations: 0 / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.3489, allocations: 457.2 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3489, allocations: 19.94 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.3489, allocations: 4.188 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3491, allocations: 24.45 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3492, allocations: 19.97 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.3492, allocations: 15.98 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.3492, allocations: 79.28 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3492, allocations: 0 / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008513/0.3501, allocations: 327.5 kB / 0.5664 GB, free: 14.03 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.001374/0.3515, allocations: 234.7 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000852/0.3523, allocations: 330 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3523, allocations: 0 / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.3527, allocations: 144.2 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.353, allocations: 15.94 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3543, allocations: 414.2 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.404e-05/0.3544, allocations: 79.56 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.3547, allocations: 92.97 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.3549, allocations: 47.41 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3549, allocations: 0 / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Templates: time 0.02577/0.3806, allocations: 18.07 MB / 0.5853 GB, free: 10.57 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/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: 5.173130257055163]