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.002546/0.002546, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003117/0.003117, allocations: 165.3 kB / 24.27 MB, free: 152 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3258/0.3258, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 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: Performance of FrontEnd - loaded program: time 5.159e-06/5.159e-06, allocations: 4 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.837e-05, allocations: 2.312 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001693/0.001732, allocations: 0.5089 MB / 375.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.002064, allocations: 107.6 kB / 375.9 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.002092, allocations: 0 / 375.9 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.002103, allocations: 0 / 375.9 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.002312, allocations: 15.92 kB / 375.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.782e-05/0.00233, allocations: 0 / 375.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.382e-05/0.002374, allocations: 7.938 kB / 375.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.002408, allocations: 4 kB / 375.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.002447, allocations: 7.984 kB / 375.9 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.002489, allocations: 3.984 kB / 375.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.002502, allocations: 0 / 375.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.002585, allocations: 19.98 kB / 375.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.002595, allocations: 0 / 375.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002612, allocations: 3.938 kB / 375.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.002714, allocations: 23.91 kB / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002716, allocations: 0 / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002716, allocations: 0 / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.00272, allocations: 4 kB / 375.9 MB, free: 4.316 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.0004058/0.003126, allocations: 348.4 kB / 376.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.003162, allocations: 8.031 kB / 376.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.003203, allocations: 4.938 kB / 376.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.003315, allocations: 104.6 kB / 376.4 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.003329, allocations: 4.375 kB / 376.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.003353, allocations: 8.312 kB / 376.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.003443, allocations: 34.25 kB / 376.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.003457, allocations: 4.141 kB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.003463, allocations: 384 / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.003467, allocations: 384 / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.003509, allocations: 15.94 kB / 376.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.003694, allocations: 116.6 kB / 376.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.003925, allocations: 51.03 kB / 376.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.003965, allocations: 11.69 kB / 376.6 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.004281, allocations: 24.06 kB / 376.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.00432, allocations: 37.39 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004321, allocations: 0 / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001242/0.005563, allocations: 165.4 kB / 376.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.005613, allocations: 55.34 kB / 376.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.005737, allocations: 157.9 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.005761, allocations: 25.7 kB / 377.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.005841, allocations: 130.8 kB / 377.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.005878, allocations: 19.95 kB / 377.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.005933, allocations: 31.38 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002669/0.006199, allocations: 492.1 kB / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.006278, allocations: 19.98 kB / 377.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.006344, allocations: 15.98 kB / 377.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.006492, allocations: 51.59 kB / 377.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006493, allocations: 0 / 377.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.006687, allocations: 69.92 kB / 377.9 MB, free: 2.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006701, allocations: 8 kB / 377.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006705, allocations: 4 kB / 377.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006718, allocations: 0 / 377.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.006852, allocations: 15.98 kB / 377.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.00686, allocations: 3.938 kB / 377.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.006941, allocations: 4 kB / 377.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.006949, allocations: 0 / 377.9 MB, free: 2.109 MB / 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 0.0001166/0.007065, allocations: 160.6 kB / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.007079, allocations: 0 / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.007341, allocations: 97.23 kB / 378.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007343, allocations: 0 / 378.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007349, allocations: 3.938 kB / 378.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007352, allocations: 0 / 378.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.008093, allocations: 345 kB / 378.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008095, allocations: 4 kB / 378.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.008186, allocations: 16.02 kB / 378.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008188, allocations: 0 / 378.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.008203, allocations: 7.938 kB / 378.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008204, allocations: 0 / 378.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008205, allocations: 0 / 378.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.0085, allocations: 231.5 kB / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.008505, allocations: 0 / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.008523, allocations: 7.922 kB / 378.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.00862, allocations: 4 kB / 378.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.00865, allocations: 8 kB / 378.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.008658, allocations: 3.984 kB / 378.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.625e-05/0.008725, allocations: 123.1 kB / 378.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008725, allocations: 0 / 378.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.008954, allocations: 12 kB / 378.9 MB, free: 1.023 MB / 346.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.0001525/0.009107, allocations: 99.19 kB / 379 MB, free: 0.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.009326, allocations: 55.72 kB / 379.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009327, allocations: 96 / 379.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.009416, allocations: 35.67 kB / 379.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.009642, allocations: 10.17 kB / 379.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01007, allocations: 146.3 kB / 379.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.784e-05/0.01014, allocations: 59.34 kB / 379.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.585e-05/0.01019, allocations: 8.062 kB / 379.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.01023, allocations: 12.5 kB / 379.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01023, allocations: 0 / 379.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of Templates: time 0.003627/0.01385, allocations: 0.7087 MB / 380.1 MB, free: 15.82 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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.701596644008532]