Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003277/0.003277, allocations: 67.89 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3286, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001413/0.33, allocations: 0.5244 MB / 0.4977 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.3303, allocations: 152 kB / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.3304, allocations: 3.219 kB / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.3304, allocations: 3.938 kB / 0.4979 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3306, allocations: 28.05 kB / 0.4979 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.3306, allocations: 0 / 0.4979 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.3307, allocations: 29.08 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.3307, allocations: 3.219 kB / 0.4979 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.3307, allocations: 19.14 kB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.3308, allocations: 10.86 kB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3308, allocations: 3.031 kB / 0.498 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.3309, allocations: 48 kB / 0.498 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.3309, allocations: 14.55 kB / 0.498 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.3309, allocations: 3.938 kB / 0.498 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.331, allocations: 41.88 kB / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.331, allocations: 0 / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.331, allocations: 0 / 0.4981 GB, free: 29.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.331, allocations: 0 / 0.4981 GB, free: 29.34 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.0002213/0.3313, allocations: 273.3 kB / 0.4983 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3313, allocations: 9.312 kB / 0.4983 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.3313, allocations: 4.062 kB / 0.4983 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.3314, allocations: 109.6 kB / 0.4985 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3314, allocations: 4.312 kB / 0.4985 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3314, allocations: 7.531 kB / 0.4985 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3315, allocations: 57.03 kB / 0.4985 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3315, allocations: 192 / 0.4985 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3315, allocations: 3.938 kB / 0.4985 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3316, allocations: 3.125 kB / 0.4985 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.3316, allocations: 51.2 kB / 0.4986 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.3318, allocations: 122.6 kB / 0.4987 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3319, allocations: 69.17 kB / 0.4988 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.3319, allocations: 32.91 kB / 0.4988 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.3321, allocations: 23.05 kB / 0.4988 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.3322, allocations: 37.78 kB / 0.4988 GB, free: 28.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3322, allocations: 0 / 0.4988 GB, free: 28.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001991/0.3324, allocations: 110.4 kB / 0.499 GB, free: 28.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.3324, allocations: 51.41 kB / 0.499 GB, free: 28.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/0.3324, allocations: 93.17 kB / 0.4991 GB, free: 28.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.3324, allocations: 25.7 kB / 0.4991 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/0.3324, allocations: 80.27 kB / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.3325, allocations: 50.02 kB / 0.4992 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.3325, allocations: 23.25 kB / 0.4993 GB, free: 28.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.3326, allocations: 314.1 kB / 0.4996 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.3326, allocations: 20.72 kB / 0.4996 GB, free: 27.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.3326, allocations: 20.09 kB / 0.4996 GB, free: 27.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.3327, allocations: 43.48 kB / 0.4996 GB, free: 27.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3327, allocations: 0 / 0.4996 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001002/0.3328, allocations: 88.45 kB / 0.4997 GB, free: 27.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3328, allocations: 6.281 kB / 0.4997 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3328, allocations: 3.422 kB / 0.4997 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3328, allocations: 7.938 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.3329, allocations: 16.69 kB / 0.4998 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3329, allocations: 0 / 0.4998 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.3329, allocations: 11.16 kB / 0.4998 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3329, allocations: 0 / 0.4998 GB, free: 27.81 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.523e-05/0.333, allocations: 117.3 kB / 0.4999 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.333, allocations: 7.547 kB / 0.4999 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.3332, allocations: 98.06 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3332, allocations: 3.938 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3332, allocations: 3.094 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3332, allocations: 11.42 kB / 0.5 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.668e-05/0.3332, allocations: 110.7 kB / 0.5001 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3332, allocations: 0 / 0.5001 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-05/0.3333, allocations: 16.31 kB / 0.5001 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3333, allocations: 3.938 kB / 0.5001 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3333, allocations: 11.17 kB / 0.5001 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3333, allocations: 0 / 0.5001 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3333, allocations: 3.938 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3334, allocations: 111.2 kB / 0.5002 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.3334, allocations: 7.062 kB / 0.5003 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3334, allocations: 8 kB / 0.5003 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.3335, allocations: 3.156 kB / 0.5003 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.3335, allocations: 7.406 kB / 0.5003 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3335, allocations: 3.188 kB / 0.5003 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.527e-05/0.3335, allocations: 82.28 kB / 0.5004 GB, free: 27.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3335, allocations: 0 / 0.5004 GB, free: 27.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.3337, allocations: 13.91 kB / 0.5004 GB, free: 27.28 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.613e-05/0.3338, allocations: 109.3 kB / 0.5005 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.3339, allocations: 56.64 kB / 0.5005 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3339, allocations: 4.094 kB / 0.5005 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.334, allocations: 28.39 kB / 0.5006 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3341, allocations: 1.656 kB / 0.5006 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.3344, allocations: 147.1 kB / 0.5007 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.3344, allocations: 68.52 kB / 0.5008 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.3344, allocations: 7.062 kB / 0.5008 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3345, allocations: 14.88 kB / 0.5008 GB, free: 26.94 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3345, allocations: 4 kB / 0.5008 GB, free: 26.94 MB / 446.1 MB Notification: Performance of Templates: time 0.002793/0.3373, allocations: 0.6247 MB / 0.5014 GB, free: 26.84 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 6.88716638891492]