Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001325/0.001325, 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.001442/0.001442, 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.418/1.418, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2487/0.2487, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 83.88 kB / 443.1 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2907, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001576/0.2923, allocations: 0.5002 MB / 0.4977 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.2926, allocations: 102.3 kB / 0.4978 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.2926, allocations: 0 / 0.4978 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.2926, allocations: 2.938 kB / 0.4978 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2928, allocations: 10.44 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.748e-05/0.2928, allocations: 2.906 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.2929, allocations: 10.69 kB / 0.4979 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.2929, allocations: 4 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.2929, allocations: 2.906 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.293, allocations: 7.922 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.293, allocations: 0 / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.293, allocations: 22.91 kB / 0.4979 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.2931, allocations: 3.938 kB / 0.4979 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.257e-05/0.2931, allocations: 0 / 0.4979 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.504e-05/0.2931, allocations: 21.62 kB / 0.4979 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2931, allocations: 0 / 0.4979 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2931, allocations: 7.125 kB / 0.4979 GB, free: 29.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2932, allocations: 0 / 0.4979 GB, free: 29.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000227/0.2934, allocations: 251.7 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2934, allocations: 9.844 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2934, allocations: 0.9375 kB / 0.4982 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.096e-05/0.2935, allocations: 110 kB / 0.4983 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2935, allocations: 7.891 kB / 0.4983 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.2935, allocations: 384 / 0.4983 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.089e-05/0.2936, allocations: 36.8 kB / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2936, allocations: 192 / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.2936, allocations: 6.969 kB / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2936, allocations: 0 / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.2936, allocations: 7.344 kB / 0.4983 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.254e-05/0.2937, allocations: 104.5 kB / 0.4984 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2939, allocations: 34.83 kB / 0.4985 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.2939, allocations: 14.64 kB / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.2942, allocations: 35.91 kB / 0.4985 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.2942, allocations: 34.56 kB / 0.4986 GB, free: 28.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2942, allocations: 0 / 0.4986 GB, free: 28.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001186/0.2954, allocations: 194.6 kB / 0.4987 GB, free: 28.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.2954, allocations: 51.41 kB / 0.4988 GB, free: 28.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.799e-05/0.2955, allocations: 89.86 kB / 0.4989 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.2955, allocations: 32.77 kB / 0.4989 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-06/0.2955, allocations: 80.27 kB / 0.499 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2955, allocations: 22.59 kB / 0.499 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.2955, allocations: 20.78 kB / 0.499 GB, free: 28.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.2956, allocations: 314.4 kB / 0.4993 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.2956, allocations: 19.62 kB / 0.4993 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.2957, allocations: 19.48 kB / 0.4994 GB, free: 28.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2959, allocations: 44.94 kB / 0.4994 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2959, allocations: 4 kB / 0.4994 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.296, allocations: 77.25 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.296, allocations: 6.562 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.296, allocations: 3.938 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2961, allocations: 0 / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2962, allocations: 19.67 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2962, allocations: 3.125 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.2963, allocations: 3.031 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2963, allocations: 0 / 0.4995 GB, free: 27.95 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 (5): * Single equations (assignments): 5 * 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 4.398e-05/0.2963, allocations: 116.6 kB / 0.4996 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.2963, allocations: 7.953 kB / 0.4996 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.2966, allocations: 89.61 kB / 0.4997 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2966, allocations: 3.938 kB / 0.4997 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2966, allocations: 0 / 0.4997 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2966, allocations: 0 / 0.4997 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.2972, allocations: 305.5 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2972, allocations: 0 / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.2973, allocations: 17.58 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2973, allocations: 3.281 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2973, allocations: 4 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2973, allocations: 0 / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2973, allocations: 3.219 kB / 0.5 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.2975, allocations: 182.6 kB / 0.5002 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.2975, allocations: 11.33 kB / 0.5002 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2975, allocations: 4 kB / 0.5002 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2976, allocations: 9.375 kB / 0.5002 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.2976, allocations: 0 / 0.5002 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2976, allocations: 3.094 kB / 0.5002 GB, free: 27.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.528e-05/0.2976, allocations: 78.7 kB / 0.5003 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2976, allocations: 3.938 kB / 0.5003 GB, free: 27.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000235/0.2979, allocations: 17.28 kB / 0.5003 GB, free: 27.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.683e-05/0.298, allocations: 103.3 kB / 0.5004 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2982, allocations: 39.17 kB / 0.5005 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2982, allocations: 0 / 0.5005 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.2982, allocations: 30.52 kB / 0.5005 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.2984, allocations: 7.156 kB / 0.5005 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.2988, allocations: 130.6 kB / 0.5006 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.2988, allocations: 61.73 kB / 0.5007 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.2989, allocations: 6.688 kB / 0.5007 GB, free: 26.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.2989, allocations: 11.66 kB / 0.5007 GB, free: 26.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2989, allocations: 4 kB / 0.5007 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002617/0.3015, allocations: 0.6856 MB / 0.5014 GB, free: 26.82 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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: 4.62809689308051]