Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001299/0.001299, allocations: 77.7 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: 161.3 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.442/1.442, allocations: 177.1 MB / 204.7 MB, free: 8.969 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.2142/0.2142, 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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003431/0.003431, allocations: 87.86 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.319, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001595/0.3206, allocations: 0.5278 MB / 0.4978 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006809/0.3213, allocations: 369.2 kB / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.3213, allocations: 3.188 kB / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.3213, allocations: 0 / 0.4981 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.3213, allocations: 3.938 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3218, allocations: 147.2 kB / 0.4983 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.3219, allocations: 33.88 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.3219, allocations: 0 / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.322, allocations: 13.19 kB / 0.4983 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.322, allocations: 28.64 kB / 0.4984 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.322, allocations: 3 kB / 0.4984 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.3222, allocations: 133.7 kB / 0.4985 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3223, allocations: 11.2 kB / 0.4985 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.3223, allocations: 18 kB / 0.4985 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3225, allocations: 126.2 kB / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3225, allocations: 0 / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3225, allocations: 0 / 0.4986 GB, free: 29.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3225, allocations: 0 / 0.4986 GB, free: 29.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000315/0.3228, allocations: 293.7 kB / 0.4989 GB, free: 28.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3228, allocations: 9.469 kB / 0.4989 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3229, allocations: 8.359 kB / 0.4989 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.323, allocations: 113.7 kB / 0.499 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.323, allocations: 11.47 kB / 0.499 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.323, allocations: 11.42 kB / 0.4991 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3231, allocations: 67.84 kB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3231, allocations: 3.938 kB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3231, allocations: 3.188 kB / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3231, allocations: 0 / 0.4991 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.3232, allocations: 46.73 kB / 0.4992 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.3233, allocations: 114.5 kB / 0.4993 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3234, allocations: 82.41 kB / 0.4994 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.3235, allocations: 25.14 kB / 0.4994 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.3237, allocations: 33.97 kB / 0.4994 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3237, allocations: 34.5 kB / 0.4995 GB, free: 28.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3237, allocations: 3.156 kB / 0.4995 GB, free: 28.37 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1347/0.4584, allocations: 5.61 MB / 0.5049 GB, free: 27.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.4585, allocations: 54.98 kB / 0.505 GB, free: 27.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.4585, allocations: 97.36 kB / 0.5051 GB, free: 27.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4586, allocations: 25.7 kB / 0.5051 GB, free: 27.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.4586, allocations: 81.08 kB / 0.5052 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.4587, allocations: 82.44 kB / 0.5053 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4588, allocations: 61.27 kB / 0.5053 GB, free: 27.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.4589, allocations: 325.6 kB / 0.5056 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.4592, allocations: 116.1 kB / 0.5057 GB, free: 27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.4596, allocations: 116.3 kB / 0.5058 GB, free: 26.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.461, allocations: 321.7 kB / 0.5062 GB, free: 26.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.461, allocations: 0 / 0.5062 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001164/0.4622, allocations: 358.7 kB / 0.5065 GB, free: 26.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4622, allocations: 6.469 kB / 0.5065 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4622, allocations: 0 / 0.5065 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.4622, allocations: 3 kB / 0.5065 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4626, allocations: 80.73 kB / 0.5066 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4626, allocations: 8.641 kB / 0.5066 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.4628, allocations: 24.92 kB / 0.5066 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4628, allocations: 16.67 kB / 0.5066 GB, free: 26.8 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 (23): * Single equations (assignments): 23 * 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.981e-05/0.4629, allocations: 129.3 kB / 0.5068 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.463, allocations: 10.72 kB / 0.5068 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.4643, allocations: 426.2 kB / 0.5072 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4643, allocations: 3.797 kB / 0.5072 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4643, allocations: 4 kB / 0.5072 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4643, allocations: 5.266 kB / 0.5072 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.4665, allocations: 0.6957 MB / 0.5079 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4665, allocations: 0 / 0.5079 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.4668, allocations: 84.06 kB / 0.5079 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4668, allocations: 0 / 0.5079 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4668, allocations: 16.72 kB / 0.508 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4668, allocations: 0.7031 kB / 0.508 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4668, allocations: 3.062 kB / 0.508 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4679, allocations: 427.1 kB / 0.5084 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.4679, allocations: 12.64 kB / 0.5084 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4679, allocations: 6.312 kB / 0.5084 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.4681, allocations: 26.38 kB / 0.5084 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.4682, allocations: 13.8 kB / 0.5084 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.4682, allocations: 21.62 kB / 0.5084 GB, free: 25.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.933e-05/0.4682, allocations: 77.03 kB / 0.5085 GB, free: 25.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4682, allocations: 0 / 0.5085 GB, free: 25.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00178/0.47, allocations: 0.6302 MB / 0.5091 GB, free: 25.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003166/0.4732, allocations: 296.8 kB / 0.5094 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.474, allocations: 261.7 kB / 0.5097 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.474, allocations: 0 / 0.5097 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.4744, allocations: 129.4 kB / 0.5098 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.4747, allocations: 8.125 kB / 0.5098 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.4756, allocations: 338 kB / 0.5101 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.827e-05/0.4756, allocations: 78.05 kB / 0.5102 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.4759, allocations: 77.16 kB / 0.5103 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.476, allocations: 50.84 kB / 0.5103 GB, free: 25.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.476, allocations: 0 / 0.5103 GB, free: 25.32 MB / 446.1 MB Notification: Performance of Templates: time 0.0674/0.5434, allocations: 54.07 MB / 0.5631 GB, free: 1.754 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.5481624900130555]