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.001773/0.001773, allocations: 74.19 kB / 21.24 MB, free: 0.5547 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.002095/0.002095, allocations: 158.3 kB / 24.5 MB, free: 3.715 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.518/1.518, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2075/0.2075, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.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.002121/0.002121, allocations: 59.91 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.295, allocations: 65.45 MB / 0.4941 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001491/0.2965, allocations: 0.5302 MB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005631/0.297, allocations: 331.7 kB / 0.495 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.2971, allocations: 3.156 kB / 0.495 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.2971, allocations: 4 kB / 0.495 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.2971, allocations: 3.938 kB / 0.495 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.2975, allocations: 108.5 kB / 0.4951 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.2975, allocations: 27.39 kB / 0.4951 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.2976, allocations: 7 kB / 0.4951 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.919e-05/0.2976, allocations: 17.73 kB / 0.4951 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.2976, allocations: 14.2 kB / 0.4952 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2976, allocations: 3.125 kB / 0.4952 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.2978, allocations: 122.2 kB / 0.4953 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2978, allocations: 0 / 0.4953 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.2979, allocations: 22.36 kB / 0.4953 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.298, allocations: 96.2 kB / 0.4954 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.298, allocations: 0 / 0.4954 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.298, allocations: 0 / 0.4954 GB, free: 30.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.298, allocations: 0 / 0.4954 GB, free: 30.69 MB / 446.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.0003163/0.2983, allocations: 290.8 kB / 0.4957 GB, free: 30.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.2984, allocations: 9.469 kB / 0.4957 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.2984, allocations: 0.9375 kB / 0.4957 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.2985, allocations: 113.7 kB / 0.4958 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.2985, allocations: 7.531 kB / 0.4958 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.2985, allocations: 3.562 kB / 0.4958 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.2986, allocations: 57.19 kB / 0.4958 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2986, allocations: 192 / 0.4958 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2986, allocations: 3.938 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2986, allocations: 3.125 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.2987, allocations: 30.23 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.2988, allocations: 114.5 kB / 0.496 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.299, allocations: 61.98 kB / 0.4961 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.299, allocations: 25.22 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.2992, allocations: 31.28 kB / 0.4961 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2992, allocations: 33.59 kB / 0.4961 GB, free: 29.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2992, allocations: 0 / 0.4961 GB, free: 29.98 MB / 446.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.04247/0.3417, allocations: 2.578 MB / 0.4987 GB, free: 29.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3417, allocations: 54.69 kB / 0.4987 GB, free: 29.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.3418, allocations: 99.83 kB / 0.4988 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3418, allocations: 25.7 kB / 0.4988 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.3419, allocations: 94.36 kB / 0.4989 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.3419, allocations: 69.17 kB / 0.499 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.342, allocations: 57.69 kB / 0.499 GB, free: 28.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.3421, allocations: 321.5 kB / 0.4993 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.3424, allocations: 168.2 kB / 0.4995 GB, free: 28.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.3427, allocations: 183.1 kB / 0.4997 GB, free: 28.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.3437, allocations: 418.6 kB / 0.5001 GB, free: 28.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3437, allocations: 0 / 0.5001 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009026/0.3446, allocations: 465.9 kB / 0.5005 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3446, allocations: 9.828 kB / 0.5005 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3446, allocations: 0 / 0.5005 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3446, allocations: 0 / 0.5005 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.345, allocations: 68.34 kB / 0.5006 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.345, allocations: 7.125 kB / 0.5006 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3452, allocations: 24.59 kB / 0.5006 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.3452, allocations: 16.33 kB / 0.5006 GB, free: 28.12 MB / 446.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 8.441e-05/0.3453, allocations: 121.3 kB / 0.5008 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3453, allocations: 7.109 kB / 0.5008 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3464, allocations: 0.5375 MB / 0.5013 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3464, allocations: 3.219 kB / 0.5013 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3464, allocations: 4.25 kB / 0.5013 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3464, allocations: 7.453 kB / 0.5013 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3483, allocations: 0.7855 MB / 0.5021 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3483, allocations: 0 / 0.5021 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.3485, allocations: 69.36 kB / 0.5021 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3485, allocations: 6.844 kB / 0.5021 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3486, allocations: 22.23 kB / 0.5022 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3486, allocations: 2.75 kB / 0.5022 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3486, allocations: 0 / 0.5022 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.3493, allocations: 460.8 kB / 0.5026 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.3494, allocations: 17.28 kB / 0.5026 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3494, allocations: 11.06 kB / 0.5026 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3496, allocations: 16.45 kB / 0.5027 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.3496, allocations: 17.03 kB / 0.5027 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.3496, allocations: 15.7 kB / 0.5027 GB, free: 27.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.3497, allocations: 85.92 kB / 0.5028 GB, free: 26.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3497, allocations: 0 / 0.5028 GB, free: 26.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.3504, allocations: 318.1 kB / 0.5031 GB, free: 26.95 MB / 446.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.001276/0.3517, allocations: 236.2 kB / 0.5033 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.3524, allocations: 330.2 kB / 0.5036 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3524, allocations: 3.938 kB / 0.5036 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.3527, allocations: 141.6 kB / 0.5037 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.353, allocations: 19.88 kB / 0.5038 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3541, allocations: 416.4 kB / 0.5042 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.3542, allocations: 76.73 kB / 0.5042 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.3545, allocations: 93.73 kB / 0.5043 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3546, allocations: 49 kB / 0.5044 GB, free: 26.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3546, allocations: 0 / 0.5044 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Templates: time 0.02488/0.3795, allocations: 18.03 MB / 0.522 GB, free: 21.39 MB / 446.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 -s ida -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: 5.182149700005539]