Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 77.31 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 34.25 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 79.88 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2905, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001493/0.292, allocations: 0.542 MB / 0.4978 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.2926, allocations: 340.3 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.2926, allocations: 0 / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.2926, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.2926, allocations: 0 / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.293, allocations: 113.8 kB / 0.4982 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.293, allocations: 31.39 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.2931, allocations: 3.031 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.2931, allocations: 9.516 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.2931, allocations: 22.33 kB / 0.4983 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2932, allocations: 3.094 kB / 0.4983 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2933, allocations: 106.7 kB / 0.4984 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.2933, allocations: 10.5 kB / 0.4984 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.2934, allocations: 10.83 kB / 0.4984 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.2935, allocations: 102 kB / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2935, allocations: 3.125 kB / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2935, allocations: 0 / 0.4985 GB, free: 29.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2935, allocations: 0 / 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.0003259/0.2938, allocations: 291.7 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2939, allocations: 9.5 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.2939, allocations: 4.031 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.838e-05/0.294, allocations: 117.1 kB / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.294, allocations: 384 / 0.4989 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.294, allocations: 7.781 kB / 0.4989 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2941, allocations: 61.81 kB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2942, allocations: 192 / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2942, allocations: 6.938 kB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2942, allocations: 0 / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.869e-05/0.2942, allocations: 27.14 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.2944, allocations: 121.9 kB / 0.4991 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.2946, allocations: 54.84 kB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.2946, allocations: 18.7 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.2948, allocations: 30.41 kB / 0.4992 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.2948, allocations: 41.36 kB / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2948, allocations: 0 / 0.4993 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.04314/0.338, allocations: 2.572 MB / 0.5018 GB, free: 27.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.338, allocations: 61.58 kB / 0.5018 GB, free: 27.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.3381, allocations: 95.27 kB / 0.5019 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3381, allocations: 29.7 kB / 0.502 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.3381, allocations: 86.77 kB / 0.502 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.3382, allocations: 67.66 kB / 0.5021 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3383, allocations: 63.09 kB / 0.5022 GB, free: 27.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.3383, allocations: 317.9 kB / 0.5025 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3386, allocations: 178.1 kB / 0.5026 GB, free: 26.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.339, allocations: 169.7 kB / 0.5028 GB, free: 26.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.3399, allocations: 424.2 kB / 0.5032 GB, free: 26.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3399, allocations: 0 / 0.5032 GB, free: 26.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008998/0.3408, allocations: 466 kB / 0.5036 GB, free: 26.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3408, allocations: 5.969 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3408, allocations: 4 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3408, allocations: 3 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.3412, allocations: 66.34 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3412, allocations: 3.375 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.3414, allocations: 12.45 kB / 0.5037 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3414, allocations: 19.55 kB / 0.5038 GB, free: 26.56 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.273e-05/0.3415, allocations: 123.7 kB / 0.5039 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3415, allocations: 14.38 kB / 0.5039 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.3426, allocations: 0.5362 MB / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3426, allocations: 2.969 kB / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3426, allocations: 0 / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3426, allocations: 0 / 0.5044 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.3444, allocations: 0.7922 MB / 0.5052 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3444, allocations: 2.969 kB / 0.5052 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.3448, allocations: 66.44 kB / 0.5053 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3448, allocations: 7.031 kB / 0.5053 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.3448, allocations: 16.23 kB / 0.5053 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3448, allocations: 7.375 kB / 0.5053 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3448, allocations: 7.094 kB / 0.5053 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.3456, allocations: 463.8 kB / 0.5057 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.3456, allocations: 6.609 kB / 0.5057 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3457, allocations: 17.11 kB / 0.5058 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3459, allocations: 20.77 kB / 0.5058 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3459, allocations: 21.3 kB / 0.5058 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.3459, allocations: 16.12 kB / 0.5058 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.3459, allocations: 85 kB / 0.5059 GB, free: 25.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3459, allocations: 0 / 0.5059 GB, free: 25.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007627/0.3467, allocations: 319.5 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.001135/0.3478, allocations: 233.5 kB / 0.5064 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.3486, allocations: 331.5 kB / 0.5067 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3486, allocations: 0 / 0.5067 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.3489, allocations: 138.6 kB / 0.5069 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.000274/0.3491, allocations: 21.94 kB / 0.5069 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3503, allocations: 417 kB / 0.5073 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.3503, allocations: 79.53 kB / 0.5074 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.3505, allocations: 93.64 kB / 0.5075 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3507, allocations: 51.61 kB / 0.5075 GB, free: 24.76 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3507, allocations: 0 / 0.5075 GB, free: 24.76 MB / 446.1 MB Notification: Performance of Templates: time 0.02337/0.3741, allocations: 18.03 MB / 0.5251 GB, free: 19.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.046944329049438]