Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001353/0.001353, allocations: 71.91 kB / 21.24 MB, free: 0.5469 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.00148/0.00148, allocations: 161.2 kB / 24.5 MB, free: 3.719 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 32.8 MB / 294.1 MB, free: 72 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 67.89 kB / 440.5 MB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.294, allocations: 65.44 MB / 0.4941 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00144/0.2955, allocations: 0.5021 MB / 0.4946 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.2958, allocations: 96.78 kB / 0.4947 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.2958, allocations: 0 / 0.4947 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.2958, allocations: 6.906 kB / 0.4947 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.296, allocations: 10.36 kB / 0.4947 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.702e-05/0.296, allocations: 11.09 kB / 0.4947 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.2961, allocations: 3.656 kB / 0.4947 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2961, allocations: 0 / 0.4947 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.2961, allocations: 7.922 kB / 0.4947 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.2962, allocations: 10.64 kB / 0.4948 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.2962, allocations: 0 / 0.4948 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.2962, allocations: 16.8 kB / 0.4948 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2963, allocations: 3.062 kB / 0.4948 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.2963, allocations: 3.938 kB / 0.4948 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.685e-05/0.2963, allocations: 20.98 kB / 0.4948 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2963, allocations: 4 kB / 0.4948 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2964, allocations: 4 kB / 0.4948 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2964, allocations: 0 / 0.4948 GB, free: 31.07 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.0002167/0.2966, allocations: 243.8 kB / 0.495 GB, free: 30.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.2966, allocations: 13.53 kB / 0.4951 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.2966, allocations: 0.9375 kB / 0.4951 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.604e-05/0.2967, allocations: 109.7 kB / 0.4952 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2967, allocations: 4.375 kB / 0.4952 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2967, allocations: 3.344 kB / 0.4952 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.2968, allocations: 32.81 kB / 0.4952 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2968, allocations: 192 / 0.4952 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2968, allocations: 11.92 kB / 0.4952 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2968, allocations: 3.125 kB / 0.4952 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.2969, allocations: 10.69 kB / 0.4952 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.275e-05/0.2969, allocations: 100.4 kB / 0.4953 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2971, allocations: 38.8 kB / 0.4954 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.2971, allocations: 15.14 kB / 0.4954 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.2974, allocations: 32.81 kB / 0.4954 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2975, allocations: 44.92 kB / 0.4954 GB, free: 30.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2975, allocations: 0 / 0.4954 GB, free: 30.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001196/0.2987, allocations: 190.2 kB / 0.4956 GB, free: 30.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2987, allocations: 51.41 kB / 0.4957 GB, free: 30.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.743e-05/0.2987, allocations: 93.86 kB / 0.4958 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2987, allocations: 28.61 kB / 0.4958 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-06/0.2987, allocations: 80.14 kB / 0.4959 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2988, allocations: 18.14 kB / 0.4959 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2988, allocations: 12.97 kB / 0.4959 GB, free: 30.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.2988, allocations: 314.8 kB / 0.4962 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/0.2989, allocations: 23.47 kB / 0.4962 GB, free: 29.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.299, allocations: 15.94 kB / 0.4962 GB, free: 29.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2991, allocations: 54.02 kB / 0.4963 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2991, allocations: 0 / 0.4963 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001757/0.2993, allocations: 82.36 kB / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2993, allocations: 3.375 kB / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2993, allocations: 3.938 kB / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2993, allocations: 0 / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2994, allocations: 16.44 kB / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2995, allocations: 0 / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.2995, allocations: 6.719 kB / 0.4964 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.2995, allocations: 4 kB / 0.4964 GB, free: 29.64 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.216e-05/0.2996, allocations: 117.5 kB / 0.4965 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.2996, allocations: 6.953 kB / 0.4965 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.2998, allocations: 90.42 kB / 0.4966 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2998, allocations: 0 / 0.4966 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2998, allocations: 0 / 0.4966 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2998, allocations: 7.188 kB / 0.4966 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.3004, allocations: 299 kB / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3004, allocations: 0 / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.234e-05/0.3005, allocations: 19.12 kB / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3005, allocations: 3.938 kB / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3005, allocations: 0 / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3005, allocations: 3.219 kB / 0.4969 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3005, allocations: 8.031 kB / 0.4969 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3007, allocations: 180.8 kB / 0.4971 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.3007, allocations: 6.859 kB / 0.4971 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3007, allocations: 3.281 kB / 0.4971 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3008, allocations: 3 kB / 0.4971 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.3008, allocations: 10.64 kB / 0.4971 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3008, allocations: 2.938 kB / 0.4971 GB, free: 29.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.393e-05/0.3009, allocations: 75.28 kB / 0.4972 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3009, allocations: 96 / 0.4972 GB, free: 28.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3011, allocations: 17.03 kB / 0.4972 GB, free: 28.95 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 8.352e-05/0.3012, allocations: 97.94 kB / 0.4973 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3014, allocations: 48.92 kB / 0.4974 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3014, allocations: 0 / 0.4974 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.3015, allocations: 29.72 kB / 0.4974 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3017, allocations: 7 kB / 0.4974 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.302, allocations: 136.4 kB / 0.4975 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.3021, allocations: 60.91 kB / 0.4976 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.3021, allocations: 7.281 kB / 0.4976 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.3021, allocations: 11.88 kB / 0.4976 GB, free: 28.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3021, allocations: 3.031 kB / 0.4976 GB, free: 28.62 MB / 446.1 MB Notification: Performance of Templates: time 0.002759/0.3049, allocations: 0.683 MB / 0.4983 GB, free: 28.53 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.632124414900318]