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.001629/0.001629, allocations: 74.72 kB / 21.24 MB, free: 0.5469 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.001956/0.001956, allocations: 160.8 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.437/1.437, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.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.2086/0.2086, allocations: 34.27 MB / 295.5 MB, free: 14.59 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.001989/0.001989, allocations: 71.88 kB / 443.1 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2666, allocations: 66.01 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001418/0.268, allocations: 0.5278 MB / 0.4977 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005084/0.2685, allocations: 333.3 kB / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.2685, allocations: 0 / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.2685, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.856e-05/0.2686, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.2689, allocations: 109.8 kB / 0.4982 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.2689, allocations: 23.89 kB / 0.4982 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.269, allocations: 3.125 kB / 0.4982 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.269, allocations: 21.69 kB / 0.4982 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.269, allocations: 10.55 kB / 0.4982 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2691, allocations: 3.094 kB / 0.4982 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2692, allocations: 123 kB / 0.4983 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2692, allocations: 3.469 kB / 0.4983 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.2693, allocations: 11.03 kB / 0.4984 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2694, allocations: 100.8 kB / 0.4985 GB, free: 29.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2694, allocations: 0 / 0.4985 GB, free: 29.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2694, allocations: 0 / 0.4985 GB, free: 29.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2694, allocations: 4 kB / 0.4985 GB, free: 29.12 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.0002914/0.2697, allocations: 299.7 kB / 0.4987 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.2697, allocations: 9.719 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2697, allocations: 0.9375 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.774e-05/0.2698, allocations: 117.6 kB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2698, allocations: 7.594 kB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2698, allocations: 3.594 kB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.2699, allocations: 54.12 kB / 0.4989 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2699, allocations: 192 / 0.4989 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.27, allocations: 3.938 kB / 0.4989 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.27, allocations: 6.938 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.27, allocations: 34.61 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.2701, allocations: 107.8 kB / 0.4991 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2703, allocations: 54.97 kB / 0.4991 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.2703, allocations: 21.92 kB / 0.4991 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.2705, allocations: 33.06 kB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.2706, allocations: 34.78 kB / 0.4992 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2706, allocations: 0 / 0.4992 GB, free: 28.41 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.03998/0.3105, allocations: 2.582 MB / 0.5017 GB, free: 27.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3106, allocations: 57.7 kB / 0.5018 GB, free: 27.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.3106, allocations: 99.89 kB / 0.5019 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3106, allocations: 25.7 kB / 0.5019 GB, free: 27.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.3107, allocations: 94.03 kB / 0.502 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.3107, allocations: 60.59 kB / 0.5021 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.3108, allocations: 58.08 kB / 0.5021 GB, free: 27.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.3108, allocations: 318.3 kB / 0.5024 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.3112, allocations: 177.9 kB / 0.5026 GB, free: 26.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.3115, allocations: 175 kB / 0.5028 GB, free: 26.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.3123, allocations: 418.3 kB / 0.5032 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3123, allocations: 4.25 kB / 0.5032 GB, free: 26.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008718/0.3132, allocations: 461.5 kB / 0.5036 GB, free: 26.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3132, allocations: 6.188 kB / 0.5036 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3132, allocations: 4 kB / 0.5036 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3132, allocations: 3.25 kB / 0.5036 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.3136, allocations: 71.44 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3136, allocations: 0 / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3138, allocations: 20.16 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3138, allocations: 18.5 kB / 0.5037 GB, free: 26.57 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 7.881e-05/0.3139, allocations: 125.8 kB / 0.5038 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3139, allocations: 6.953 kB / 0.5038 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.315, allocations: 0.5383 MB / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.315, allocations: 3.094 kB / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.315, allocations: 0 / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.315, allocations: 7.453 kB / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3168, allocations: 0.7947 MB / 0.5052 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3168, allocations: 0 / 0.5052 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.317, allocations: 67.64 kB / 0.5052 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.317, allocations: 10.36 kB / 0.5052 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.317, allocations: 13 kB / 0.5052 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.317, allocations: 6.656 kB / 0.5052 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.317, allocations: 7 kB / 0.5053 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.3178, allocations: 460.9 kB / 0.5057 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.3178, allocations: 7.203 kB / 0.5057 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.3178, allocations: 11.12 kB / 0.5057 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.318, allocations: 16.14 kB / 0.5057 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.318, allocations: 20.67 kB / 0.5057 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.3181, allocations: 18.28 kB / 0.5058 GB, free: 25.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.29e-05/0.3181, allocations: 93.52 kB / 0.5059 GB, free: 25.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3181, allocations: 0 / 0.5059 GB, free: 25.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000742/0.3188, allocations: 315.4 kB / 0.5062 GB, free: 25.38 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.001083/0.3199, allocations: 230.1 kB / 0.5064 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.3206, allocations: 325.8 kB / 0.5067 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3206, allocations: 3.031 kB / 0.5067 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.3209, allocations: 144.9 kB / 0.5068 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3212, allocations: 11 kB / 0.5068 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3222, allocations: 423.9 kB / 0.5072 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.3222, allocations: 83.89 kB / 0.5073 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.3225, allocations: 93.05 kB / 0.5074 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3226, allocations: 45.91 kB / 0.5074 GB, free: 24.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3226, allocations: 3.094 kB / 0.5075 GB, free: 24.77 MB / 446.1 MB Notification: Performance of Templates: time 0.2718/0.5944, allocations: 18.03 MB / 0.5251 GB, free: 19.16 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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: 6.701177505077794]