Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.002111/0.002111, allocations: 80.12 kB / 21.25 MB, free: 0.5352 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.002512/0.002512, allocations: 159.8 kB / 24.49 MB, free: 3.715 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.491/1.491, allocations: 177.1 MB / 204.7 MB, free: 8.938 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.2165/0.2165, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 79.88 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.276, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001389/0.2774, allocations: 0.5397 MB / 0.4978 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.278, allocations: 372.5 kB / 0.4981 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.278, allocations: 0 / 0.4981 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.278, allocations: 0 / 0.4981 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.2781, allocations: 3.938 kB / 0.4981 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.2785, allocations: 142.2 kB / 0.4983 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.2785, allocations: 27.75 kB / 0.4983 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.2785, allocations: 6.656 kB / 0.4983 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.2786, allocations: 15.23 kB / 0.4983 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.2786, allocations: 13.41 kB / 0.4983 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2786, allocations: 2.938 kB / 0.4983 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2788, allocations: 130 kB / 0.4985 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2788, allocations: 14.41 kB / 0.4985 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.2788, allocations: 10.75 kB / 0.4985 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.279, allocations: 125.5 kB / 0.4986 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.279, allocations: 0 / 0.4986 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.279, allocations: 0 / 0.4986 GB, free: 29.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.279, allocations: 4 kB / 0.4986 GB, free: 29.05 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.0003068/0.2793, allocations: 302.3 kB / 0.4989 GB, free: 28.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.2793, allocations: 9.312 kB / 0.4989 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.2794, allocations: 4.062 kB / 0.4989 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.785e-05/0.2795, allocations: 110.5 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2795, allocations: 3.531 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2795, allocations: 3.5 kB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.2796, allocations: 61.52 kB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2796, allocations: 3.938 kB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2796, allocations: 7.188 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2796, allocations: 4 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.2797, allocations: 27 kB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.2798, allocations: 110.8 kB / 0.4992 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.28, allocations: 52.14 kB / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.28, allocations: 29.3 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.2802, allocations: 30.84 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.2802, allocations: 30.56 kB / 0.4994 GB, free: 28.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.2802, allocations: 0 / 0.4994 GB, free: 28.35 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.1465/0.4267, allocations: 6.385 MB / 0.5056 GB, free: 27.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4267, allocations: 55.2 kB / 0.5057 GB, free: 27.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.4268, allocations: 106.4 kB / 0.5058 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.4268, allocations: 29.7 kB / 0.5058 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.822e-05/0.4268, allocations: 83.98 kB / 0.5059 GB, free: 27.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.4269, allocations: 67.55 kB / 0.5059 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.4271, allocations: 88.31 kB / 0.506 GB, free: 27.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.4271, allocations: 324.7 kB / 0.5063 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.4276, allocations: 230.4 kB / 0.5065 GB, free: 26.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.4282, allocations: 232.9 kB / 0.5068 GB, free: 26.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.4302, allocations: 0.5602 MB / 0.5073 GB, free: 26.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4302, allocations: 0 / 0.5073 GB, free: 26.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001769/0.432, allocations: 0.6057 MB / 0.5079 GB, free: 26.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.432, allocations: 3.797 kB / 0.5079 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.432, allocations: 0 / 0.5079 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.432, allocations: 9 kB / 0.5079 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.4327, allocations: 110 kB / 0.508 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4327, allocations: 0 / 0.508 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.4332, allocations: 27.3 kB / 0.508 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.4332, allocations: 33.44 kB / 0.5081 GB, free: 26.22 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 0.0001227/0.4333, allocations: 121.5 kB / 0.5082 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.4334, allocations: 10.89 kB / 0.5082 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.4356, allocations: 0.736 MB / 0.5089 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4356, allocations: 2.188 kB / 0.5089 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4356, allocations: 1.438 kB / 0.5089 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4356, allocations: 1.359 kB / 0.5089 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.4397, allocations: 1.043 MB / 0.5099 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4397, allocations: 1.469 kB / 0.5099 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.4403, allocations: 102.9 kB / 0.51 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4403, allocations: 6.094 kB / 0.5101 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.4404, allocations: 25.45 kB / 0.5101 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.4404, allocations: 3.578 kB / 0.5101 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4404, allocations: 6.562 kB / 0.5101 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4421, allocations: 0.5778 MB / 0.5107 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.4421, allocations: 17.12 kB / 0.5107 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.4422, allocations: 3.422 kB / 0.5107 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.4426, allocations: 35.23 kB / 0.5107 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.4426, allocations: 12.73 kB / 0.5107 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.4427, allocations: 32.5 kB / 0.5107 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.854e-05/0.4427, allocations: 81.89 kB / 0.5108 GB, free: 24.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4427, allocations: 0 / 0.5108 GB, free: 24.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001838/0.4446, allocations: 0.6491 MB / 0.5115 GB, free: 24.93 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.003172/0.4477, allocations: 296.5 kB / 0.5117 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.449, allocations: 442 kB / 0.5122 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.449, allocations: 0 / 0.5122 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.4495, allocations: 197.9 kB / 0.5124 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4499, allocations: 17.64 kB / 0.5124 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.4524, allocations: 0.5249 MB / 0.5129 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.4524, allocations: 78.16 kB / 0.513 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003993/0.4528, allocations: 122.4 kB / 0.5131 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4531, allocations: 89.55 kB / 0.5132 GB, free: 24.23 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4531, allocations: 4 kB / 0.5132 GB, free: 24.22 MB / 446.1 MB Notification: Performance of Templates: time 0.07504/0.5282, allocations: 58.4 MB / 0.5702 GB, free: 10.48 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.828990319976583]