Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001838/0.001838, allocations: 88.23 kB / 20.21 MB, free: 4.227 MB / 18.57 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.002141/0.002141, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2193/0.2193, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.343e-05, allocations: 6.312 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001781/0.001804, allocations: 0.5533 MB / 347.5 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.002082, allocations: 59.72 kB / 347.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.002115, allocations: 0 / 347.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.002128, allocations: 4 kB / 347.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.002369, allocations: 19.86 kB / 347.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.136e-05/0.00239, allocations: 0 / 347.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.235e-05/0.002432, allocations: 4 kB / 347.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.002471, allocations: 0 / 347.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.002499, allocations: 7.984 kB / 347.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.002547, allocations: 11.92 kB / 347.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.002562, allocations: 0 / 347.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.002651, allocations: 19.98 kB / 347.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.002662, allocations: 0 / 347.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.002685, allocations: 4 kB / 347.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.309e-05/0.002778, allocations: 23.91 kB / 347.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00278, allocations: 0 / 347.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.002781, allocations: 0 / 347.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.002784, allocations: 0 / 347.7 MB, free: 9.078 MB / 282.7 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.0002417/0.003026, allocations: 242.4 kB / 347.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.00306, allocations: 8.031 kB / 347.9 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.003117, allocations: 12.94 kB / 347.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.499e-05/0.003182, allocations: 101.8 kB / 348 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.003195, allocations: 384 / 348 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.003223, allocations: 12.25 kB / 348 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.003312, allocations: 42.25 kB / 348.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.003325, allocations: 192 / 348.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003334, allocations: 384 / 348.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.003338, allocations: 384 / 348.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.003377, allocations: 7.938 kB / 348.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.003495, allocations: 109.3 kB / 348.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.003709, allocations: 30.52 kB / 348.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.00374, allocations: 16.98 kB / 348.2 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/0.0042, allocations: 39.95 kB / 348.3 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.004214, allocations: 30.56 kB / 348.3 MB, free: 8.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.004216, allocations: 0 / 348.3 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.001754/0.00597, allocations: 185.4 kB / 348.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.005993, allocations: 63.34 kB / 348.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.006039, allocations: 89.86 kB / 348.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.00605, allocations: 25.7 kB / 348.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.006062, allocations: 84.14 kB / 348.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.006091, allocations: 19.84 kB / 348.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.006143, allocations: 21.7 kB / 348.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.006179, allocations: 310.8 kB / 349.1 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.006299, allocations: 19.98 kB / 349.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.006408, allocations: 24.11 kB / 349.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.00663, allocations: 48.77 kB / 349.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006631, allocations: 0 / 349.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003005/0.006932, allocations: 73.66 kB / 349.3 MB, free: 7.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.006946, allocations: 8 kB / 349.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.006951, allocations: 288 / 349.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.006972, allocations: 0 / 349.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.007149, allocations: 11.98 kB / 349.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.007155, allocations: 11.94 kB / 349.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.007288, allocations: 7.984 kB / 349.3 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.007298, allocations: 4.25 kB / 349.3 MB, free: 7.273 MB / 282.7 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.994e-05/0.007348, allocations: 105.8 kB / 349.4 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.007371, allocations: 7.984 kB / 349.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.007706, allocations: 93.23 kB / 349.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.007709, allocations: 8 kB / 349.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.007714, allocations: 7.875 kB / 349.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.007718, allocations: 0 / 349.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.008581, allocations: 302.9 kB / 349.8 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.008584, allocations: 4 kB / 349.8 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.008739, allocations: 11.98 kB / 349.8 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008741, allocations: 0 / 349.8 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.008754, allocations: 11.97 kB / 349.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.008755, allocations: 0 / 349.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.008757, allocations: 0 / 349.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.009046, allocations: 176.3 kB / 350 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.009054, allocations: 4 kB / 350 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.009072, allocations: 7.938 kB / 350 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.009249, allocations: 7.984 kB / 350 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.009267, allocations: 0 / 350 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.009275, allocations: 4 kB / 350 MB, free: 6.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.588e-05/0.009291, allocations: 79.28 kB / 350.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009291, allocations: 0 / 350.1 MB, free: 6.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004375/0.009729, allocations: 19.92 kB / 350.1 MB, free: 6.363 MB / 282.7 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 0.0001204/0.009849, allocations: 95.25 kB / 350.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01013, allocations: 47.89 kB / 350.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01013, allocations: 0 / 350.3 MB, free: 6.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01025, allocations: 24.14 kB / 350.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.01064, allocations: 8 kB / 350.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.01113, allocations: 141.4 kB / 350.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.01118, allocations: 63.34 kB / 350.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.01124, allocations: 7.906 kB / 350.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.01129, allocations: 16.48 kB / 350.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01129, allocations: 0 / 350.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003188/0.01448, allocations: 0.7151 MB / 351.2 MB, free: 5.199 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.541609565028921]