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.001619/0.001619, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001801/0.001801, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2268/0.2268, allocations: 46.96 MB / 360.9 MB, free: 4.148 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.002036/0.002036, allocations: 75.83 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001806/0.3075, allocations: 0.5331 MB / 0.5616 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.3082, allocations: 334.8 kB / 0.5619 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.3083, allocations: 0 / 0.5619 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.3083, allocations: 4 kB / 0.5619 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.3083, allocations: 3.938 kB / 0.5619 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3087, allocations: 103.6 kB / 0.562 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.3088, allocations: 23.98 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3088, allocations: 11.78 kB / 0.5621 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.3089, allocations: 11.94 kB / 0.5621 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.3089, allocations: 19.92 kB / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3089, allocations: 0 / 0.5621 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.3092, allocations: 123.9 kB / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.3092, allocations: 7.938 kB / 0.5622 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.3092, allocations: 15.86 kB / 0.5622 GB, free: 3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3094, allocations: 98.27 kB / 0.5623 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3094, allocations: 0 / 0.5623 GB, free: 2.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3094, allocations: 4 kB / 0.5623 GB, free: 2.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3094, allocations: 0 / 0.5623 GB, free: 2.906 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.0004864/0.3099, allocations: 293.9 kB / 0.5626 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.31, allocations: 12.03 kB / 0.5626 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.31, allocations: 4.938 kB / 0.5626 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3101, allocations: 110.5 kB / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3101, allocations: 384 / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3102, allocations: 4.375 kB / 0.5627 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3103, allocations: 62.11 kB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3103, allocations: 4.188 kB / 0.5628 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3103, allocations: 11.94 kB / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3103, allocations: 0 / 0.5628 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.3104, allocations: 23.98 kB / 0.5628 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.3106, allocations: 117.2 kB / 0.5629 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3108, allocations: 50.59 kB / 0.563 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.3109, allocations: 32.83 kB / 0.563 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.3112, allocations: 23.97 kB / 0.563 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3112, allocations: 34.56 kB / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.737e-06/0.3112, allocations: 4 kB / 0.5631 GB, free: 2.02 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.04825/0.3594, allocations: 2.577 MB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.3595, allocations: 51.41 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.3596, allocations: 105.9 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3596, allocations: 29.7 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.3597, allocations: 87.89 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.3598, allocations: 63.42 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3599, allocations: 61.69 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.36, allocations: 318.8 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.3605, allocations: 171.9 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.3608, allocations: 178.1 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.3619, allocations: 428.5 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3619, allocations: 0 / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001113/0.363, allocations: 459.3 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3631, allocations: 4 kB / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3631, allocations: 0 / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3631, allocations: 0 / 0.5675 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.3635, allocations: 79.88 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3635, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.3638, allocations: 11.98 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.3638, allocations: 15.98 kB / 0.5676 GB, free: 13.33 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.0001501/0.3639, allocations: 121.8 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.364, allocations: 7.953 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3654, allocations: 0.5446 MB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3654, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3654, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3654, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.3677, allocations: 0.7953 MB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3677, allocations: 4 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.368, allocations: 67.89 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.3681, allocations: 11.92 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.3681, allocations: 12 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3681, allocations: 4.188 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3681, allocations: 4 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.3691, allocations: 463.2 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.3691, allocations: 19.94 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.3692, allocations: 8.406 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3694, allocations: 19.98 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.3694, allocations: 11.97 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.3695, allocations: 27.98 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.3695, allocations: 79.28 kB / 0.5697 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3695, allocations: 3.938 kB / 0.5697 GB, free: 11.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009636/0.3705, allocations: 319.6 kB / 0.57 GB, free: 10.71 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.001406/0.3719, allocations: 230.7 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008471/0.3727, allocations: 327.7 kB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3727, allocations: 0 / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.3731, allocations: 143.4 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3734, allocations: 11.94 kB / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3748, allocations: 418.5 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.3749, allocations: 83.56 kB / 0.5712 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.3752, allocations: 92.97 kB / 0.5713 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3754, allocations: 47.41 kB / 0.5713 GB, free: 9.312 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3754, allocations: 0 / 0.5713 GB, free: 9.312 MB / 414.1 MB Notification: Performance of Templates: time 0.02623/0.4016, allocations: 18.11 MB / 0.589 GB, free: 7.227 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.267028821632266]