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.001503/0.001503, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001809/0.001809, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2229/0.2229, allocations: 46.93 MB / 361.6 MB, free: 4.293 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.00216/0.00216, allocations: 75.88 kB / 0.4974 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 66.03 MB / 0.5619 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00164/0.2955, allocations: 0.5408 MB / 0.5624 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.2962, allocations: 374.7 kB / 0.5628 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2962, allocations: 0 / 0.5628 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2962, allocations: 0 / 0.5628 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.2962, allocations: 3.938 kB / 0.5628 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.2966, allocations: 107.6 kB / 0.5629 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.2967, allocations: 23.92 kB / 0.5629 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.2967, allocations: 7.781 kB / 0.5629 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.2968, allocations: 15.94 kB / 0.5629 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.2968, allocations: 19.92 kB / 0.5629 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2968, allocations: 0 / 0.5629 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.2971, allocations: 123.9 kB / 0.563 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.2971, allocations: 8 kB / 0.563 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.2971, allocations: 15.81 kB / 0.5631 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2973, allocations: 94.27 kB / 0.5632 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2973, allocations: 0 / 0.5632 GB, free: 3.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2973, allocations: 0 / 0.5632 GB, free: 3.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2973, allocations: 0 / 0.5632 GB, free: 3.125 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.0004587/0.2978, allocations: 298 kB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2978, allocations: 12.03 kB / 0.5635 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.2978, allocations: 8.859 kB / 0.5635 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.298, allocations: 114.5 kB / 0.5636 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.298, allocations: 4.375 kB / 0.5636 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.298, allocations: 4.375 kB / 0.5636 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2981, allocations: 54.19 kB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2981, allocations: 4.188 kB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2981, allocations: 3.938 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2982, allocations: 0 / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.2982, allocations: 35.91 kB / 0.5637 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.2984, allocations: 144.7 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2986, allocations: 54.58 kB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.2987, allocations: 20.86 kB / 0.5639 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.2989, allocations: 27.95 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2989, allocations: 38.56 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2989, allocations: 0 / 0.5639 GB, free: 2.191 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.0405/0.3394, allocations: 2.578 MB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3395, allocations: 51.41 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.3395, allocations: 105.8 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3396, allocations: 29.7 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3396, allocations: 83.89 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.3397, allocations: 67.42 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.3398, allocations: 61.67 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.34, allocations: 322.6 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.3404, allocations: 175.9 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3407, allocations: 175.9 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.3418, allocations: 422.6 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3418, allocations: 4 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001011/0.3428, allocations: 457.4 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3428, allocations: 8 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3428, allocations: 0 / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3428, allocations: 0 / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3432, allocations: 71.88 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3432, allocations: 0 / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.3434, allocations: 27.97 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3434, allocations: 15.98 kB / 0.5684 GB, free: 13.49 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.0001271/0.3436, allocations: 121.8 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.3436, allocations: 7.953 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.3449, allocations: 0.5385 MB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3449, allocations: 7.984 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3449, allocations: 0 / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3449, allocations: 0 / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.3471, allocations: 0.8532 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3471, allocations: 4 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.3474, allocations: 67.88 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3474, allocations: 4.469 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.3474, allocations: 19.98 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3474, allocations: 256 / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3474, allocations: 4 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.3483, allocations: 474.6 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.3483, allocations: 11.89 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3484, allocations: 8 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3486, allocations: 19.97 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.3486, allocations: 11.98 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3486, allocations: 23.98 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.3487, allocations: 83.27 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3487, allocations: 0 / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000896/0.3496, allocations: 319.5 kB / 0.5709 GB, free: 10.81 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.001272/0.3509, allocations: 238.7 kB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.3517, allocations: 327.7 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3517, allocations: 0 / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.352, allocations: 143.8 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3523, allocations: 16.36 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3536, allocations: 447.2 kB / 0.5721 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.354, allocations: 0.6926 MB / 0.5727 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3541, allocations: 51.41 kB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3541, allocations: 0 / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of Templates: time 0.01047/0.3646, allocations: 6.548 MB / 0.5792 GB, free: 2.355 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/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: 7.520143968053162]