Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001819/0.001819, 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.002714/0.002714, 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.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 8.973 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.2127/0.2127, allocations: 34.26 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 79.88 kB / 443.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2929, allocations: 66.05 MB / 0.4973 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001472/0.2943, allocations: 0.5271 MB / 0.4978 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.2947, allocations: 148.5 kB / 0.4979 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.2947, allocations: 4 kB / 0.4979 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.2947, allocations: 0 / 0.4979 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2949, allocations: 43.62 kB / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.2949, allocations: 0 / 0.498 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.295, allocations: 28.36 kB / 0.498 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.295, allocations: 7.094 kB / 0.498 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.295, allocations: 10.66 kB / 0.498 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.2951, allocations: 14.33 kB / 0.498 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.2951, allocations: 3.031 kB / 0.498 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.2952, allocations: 43.81 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.2952, allocations: 3.281 kB / 0.4981 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.2952, allocations: 19.86 kB / 0.4981 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.419e-05/0.2953, allocations: 41.09 kB / 0.4981 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2953, allocations: 0 / 0.4981 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2953, allocations: 0 / 0.4981 GB, free: 29.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.2953, allocations: 0 / 0.4981 GB, free: 29.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002108/0.2955, allocations: 269 kB / 0.4984 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.2956, allocations: 9.531 kB / 0.4984 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2956, allocations: 4.062 kB / 0.4984 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.004e-05/0.2957, allocations: 109.5 kB / 0.4985 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2957, allocations: 4.312 kB / 0.4985 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2957, allocations: 7.438 kB / 0.4985 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2958, allocations: 60.39 kB / 0.4986 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2958, allocations: 192 / 0.4986 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2958, allocations: 7.938 kB / 0.4986 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2958, allocations: 2.969 kB / 0.4986 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.2959, allocations: 50.48 kB / 0.4986 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.296, allocations: 115.7 kB / 0.4987 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2962, allocations: 80.58 kB / 0.4988 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.2963, allocations: 24.95 kB / 0.4988 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.2966, allocations: 30.88 kB / 0.4989 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2966, allocations: 30.56 kB / 0.4989 GB, free: 28.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.2966, allocations: 0 / 0.4989 GB, free: 28.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002209/0.2968, allocations: 109.2 kB / 0.499 GB, free: 28.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2968, allocations: 54.66 kB / 0.4991 GB, free: 28.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.2969, allocations: 93.86 kB / 0.4991 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2969, allocations: 25.7 kB / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-06/0.2969, allocations: 83.66 kB / 0.4992 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2969, allocations: 34.02 kB / 0.4993 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2969, allocations: 23.45 kB / 0.4993 GB, free: 28.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.297, allocations: 318.8 kB / 0.4996 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.297, allocations: 19.86 kB / 0.4996 GB, free: 27.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.297, allocations: 20.55 kB / 0.4996 GB, free: 27.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.2971, allocations: 50.23 kB / 0.4997 GB, free: 27.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2971, allocations: 0 / 0.4997 GB, free: 27.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.2972, allocations: 90.3 kB / 0.4998 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2972, allocations: 6.375 kB / 0.4998 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2972, allocations: 0 / 0.4998 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2972, allocations: 3.938 kB / 0.4998 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.2973, allocations: 16.56 kB / 0.4998 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.2973, allocations: 4.656 kB / 0.4998 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.2974, allocations: 10.97 kB / 0.4998 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2974, allocations: 0 / 0.4998 GB, free: 27.73 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 (10): * Single equations (assignments): 10 * 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.256e-05/0.2974, allocations: 116.9 kB / 0.4999 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.2974, allocations: 7.078 kB / 0.4999 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.2976, allocations: 110.2 kB / 0.5 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2976, allocations: 3.938 kB / 0.5 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2976, allocations: 0 / 0.5 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2976, allocations: 0 / 0.5 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.399e-05/0.2977, allocations: 118.3 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2977, allocations: 4 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.2977, allocations: 15.94 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.2977, allocations: 0 / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2977, allocations: 0 / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2977, allocations: 3.281 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2977, allocations: 3.938 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2978, allocations: 114.9 kB / 0.5003 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-06/0.2978, allocations: 11.3 kB / 0.5003 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.2979, allocations: 3.312 kB / 0.5003 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.2979, allocations: 0 / 0.5003 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.2979, allocations: 14.62 kB / 0.5003 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2979, allocations: 7.219 kB / 0.5003 GB, free: 27.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.49e-05/0.2979, allocations: 75.28 kB / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2979, allocations: 0 / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.2981, allocations: 16.88 kB / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.046e-05/0.2982, allocations: 106.8 kB / 0.5005 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2983, allocations: 46.88 kB / 0.5006 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2983, allocations: 0 / 0.5006 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.2984, allocations: 31.33 kB / 0.5006 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2985, allocations: 8.281 kB / 0.5006 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.2988, allocations: 145.1 kB / 0.5007 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.083e-05/0.2988, allocations: 75.7 kB / 0.5008 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.2988, allocations: 11 kB / 0.5008 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.2988, allocations: 11.72 kB / 0.5008 GB, free: 26.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2988, allocations: 0 / 0.5008 GB, free: 26.86 MB / 446.1 MB Notification: Performance of Templates: time 0.00278/0.3016, allocations: 0.6249 MB / 0.5014 GB, free: 26.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.842402482056059]