Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001755/0.001755, allocations: 73.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.002097/0.002097, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.49/1.49, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.1994/0.1994, allocations: 34.27 MB / 295.5 MB, free: 14.55 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 66 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001329/0.2622, allocations: 0.4995 MB / 0.4977 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.2625, allocations: 93.3 kB / 0.4978 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.2625, allocations: 0 / 0.4978 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.2625, allocations: 0 / 0.4978 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.2627, allocations: 21.5 kB / 0.4978 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.425e-05/0.2627, allocations: 0 / 0.4978 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.71e-05/0.2628, allocations: 10.72 kB / 0.4978 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.2628, allocations: 0 / 0.4978 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.316e-05/0.2628, allocations: 7.219 kB / 0.4978 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.2629, allocations: 7.938 kB / 0.4978 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2629, allocations: 3.344 kB / 0.4978 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.2629, allocations: 20.28 kB / 0.4979 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.2629, allocations: 0 / 0.4979 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.263, allocations: 3.984 kB / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.083e-05/0.263, allocations: 27.89 kB / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.263, allocations: 0 / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.263, allocations: 0 / 0.4979 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.263, allocations: 3.938 kB / 0.4979 GB, free: 29.42 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.0001923/0.2632, allocations: 250.4 kB / 0.4981 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2633, allocations: 9.844 kB / 0.4981 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.2633, allocations: 4.938 kB / 0.4982 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.322e-05/0.2633, allocations: 102.5 kB / 0.4983 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2633, allocations: 7.406 kB / 0.4983 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2634, allocations: 384 / 0.4983 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.633e-05/0.2634, allocations: 40.11 kB / 0.4983 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2634, allocations: 192 / 0.4983 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2634, allocations: 3.938 kB / 0.4983 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2634, allocations: 0 / 0.4983 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.2635, allocations: 7.125 kB / 0.4983 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.989e-05/0.2635, allocations: 107.1 kB / 0.4984 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.2637, allocations: 34.86 kB / 0.4984 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.2637, allocations: 12.02 kB / 0.4985 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.264, allocations: 39.52 kB / 0.4985 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.264, allocations: 34.56 kB / 0.4985 GB, free: 28.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.264, allocations: 0 / 0.4985 GB, free: 28.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001087/0.2651, allocations: 194.7 kB / 0.4987 GB, free: 28.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2651, allocations: 54.88 kB / 0.4988 GB, free: 28.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.327e-05/0.2652, allocations: 93.02 kB / 0.4989 GB, free: 28.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.2652, allocations: 25.7 kB / 0.4989 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-06/0.2652, allocations: 80.14 kB / 0.499 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2652, allocations: 19.38 kB / 0.499 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2652, allocations: 16.39 kB / 0.499 GB, free: 28.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.076e-05/0.2652, allocations: 314.8 kB / 0.4993 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.2653, allocations: 20.27 kB / 0.4993 GB, free: 28.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.2654, allocations: 19.42 kB / 0.4993 GB, free: 28.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.2655, allocations: 41.81 kB / 0.4994 GB, free: 28.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2655, allocations: 0 / 0.4994 GB, free: 28.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001696/0.2657, allocations: 89.23 kB / 0.4994 GB, free: 28.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.2657, allocations: 6.438 kB / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2657, allocations: 3.938 kB / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2657, allocations: 3.516 kB / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2658, allocations: 13.08 kB / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2658, allocations: 0 / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.2659, allocations: 6.625 kB / 0.4995 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2659, allocations: 3.375 kB / 0.4995 GB, free: 28.01 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 3.704e-05/0.2659, allocations: 113.7 kB / 0.4996 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.2659, allocations: 7.953 kB / 0.4996 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2661, allocations: 96.45 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2661, allocations: 0 / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2662, allocations: 7.125 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2662, allocations: 3.984 kB / 0.4997 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.2667, allocations: 305.5 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2667, allocations: 3.188 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.2668, allocations: 12.97 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2668, allocations: 0 / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2668, allocations: 3.25 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2668, allocations: 3.375 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2668, allocations: 0 / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.2669, allocations: 181.3 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.2669, allocations: 10.89 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.2669, allocations: 0 / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.267, allocations: 6.422 kB / 0.5002 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.2671, allocations: 10.72 kB / 0.5002 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2671, allocations: 3.031 kB / 0.5002 GB, free: 27.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.2671, allocations: 75.28 kB / 0.5003 GB, free: 27.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2671, allocations: 0 / 0.5003 GB, free: 27.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.2673, allocations: 13.44 kB / 0.5003 GB, free: 27.3 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 7.577e-05/0.2674, allocations: 96.09 kB / 0.5004 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.2675, allocations: 54.45 kB / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2675, allocations: 0 / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.2676, allocations: 23.22 kB / 0.5005 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2678, allocations: 7.875 kB / 0.5005 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2681, allocations: 132.4 kB / 0.5006 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.2682, allocations: 65.44 kB / 0.5007 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.338e-05/0.2682, allocations: 3.156 kB / 0.5007 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2682, allocations: 11.56 kB / 0.5007 GB, free: 26.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2682, allocations: 0 / 0.5007 GB, free: 26.99 MB / 446.1 MB Notification: Performance of Templates: time 0.142/0.4103, allocations: 0.6956 MB / 0.5014 GB, free: 26.89 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 6.188145307009108]