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.00206/0.00206, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002563/0.002563, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.466/1.466, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3343/0.3343, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 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 1.313e-06/1.313e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.499e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001439/0.001464, allocations: 0.4968 MB / 377.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.001778, allocations: 103.6 kB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.001804, allocations: 0 / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.001814, allocations: 3.938 kB / 377.9 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.002011, allocations: 11.98 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.766e-05/0.002028, allocations: 7.922 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.031e-05/0.002069, allocations: 4 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.002101, allocations: 0 / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.002135, allocations: 11.92 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.002173, allocations: 4 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002185, allocations: 0 / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.32e-05/0.002269, allocations: 23.97 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.002278, allocations: 0 / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.002298, allocations: 4 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.577e-05/0.002384, allocations: 23.91 kB / 378 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002385, allocations: 0 / 378 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002386, allocations: 3.938 kB / 378 MB, free: 2.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.002389, allocations: 0 / 378 MB, free: 2.285 MB / 346.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.0003267/0.002716, allocations: 238.4 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.002747, allocations: 8.031 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.002786, allocations: 12.92 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.002893, allocations: 105.8 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.002904, allocations: 384 / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.002928, allocations: 4.375 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.759e-05/0.003016, allocations: 34.2 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.003028, allocations: 4.141 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.003039, allocations: 8.359 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.003043, allocations: 384 / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.003074, allocations: 7.938 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.003225, allocations: 101.3 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.003426, allocations: 38.61 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.003468, allocations: 20.78 kB / 378.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/0.003828, allocations: 40.03 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.003858, allocations: 30.56 kB / 378.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.00386, allocations: 0 / 378.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001317/0.005177, allocations: 185.4 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.005227, allocations: 59.34 kB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.005309, allocations: 89.86 kB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.005332, allocations: 25.7 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.005379, allocations: 84.12 kB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.005413, allocations: 19.86 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.005462, allocations: 17.84 kB / 379.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.005635, allocations: 318.8 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.005722, allocations: 19.98 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.005794, allocations: 15.98 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.005957, allocations: 48.83 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.005958, allocations: 0 / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.006174, allocations: 77.59 kB / 379.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.00619, allocations: 12 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006194, allocations: 0 / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.00621, allocations: 256 / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.006337, allocations: 19.92 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.006349, allocations: 7.938 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.006444, allocations: 4 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.006455, allocations: 3.984 kB / 379.6 MB, free: 492 kB / 346.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 9.192e-05/0.006546, allocations: 109.8 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.006561, allocations: 4 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.006833, allocations: 93.23 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.00684, allocations: 4 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.006847, allocations: 3.938 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006849, allocations: 0 / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.007608, allocations: 299 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.007613, allocations: 4 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.007717, allocations: 15.98 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007719, allocations: 0 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.007732, allocations: 7.938 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007733, allocations: 0 / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.007737, allocations: 3.984 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.008019, allocations: 172.3 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.008029, allocations: 7.984 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.008047, allocations: 11.97 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.008155, allocations: 4 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.008395, allocations: 3.984 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.008402, allocations: 4 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.008449, allocations: 75.28 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00845, allocations: 0 / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.008683, allocations: 8 kB / 380.4 MB, free: 15.59 MB / 362.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.0001509/0.008834, allocations: 103.2 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.009053, allocations: 52.11 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.009054, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.009141, allocations: 27.97 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.009369, allocations: 4 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.009802, allocations: 145.4 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.009871, allocations: 67.28 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.009914, allocations: 8.188 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.009952, allocations: 12.5 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.009953, allocations: 0 / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003316/0.01327, allocations: 0.7107 MB / 381.5 MB, free: 14.41 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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: 4.7332933460129425]