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.001104/0.001104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002771, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001045/0.001045, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002357, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9245/0.9245, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08854/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2363/0.2363, allocations: 32.79 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.2599, allocations: 12.53 MB / 289.3 MB, free: 8.66 MB / 282.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 2.284e-06/2.284e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.252e-05, allocations: 4.141 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001357/0.001379, allocations: 0.5536 MB / 291.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.00159, allocations: 103.4 kB / 291.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.001612, allocations: 0 / 291.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.388e-06/0.001616, allocations: 0 / 291.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.001719, allocations: 19.75 kB / 291.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.376e-05/0.001733, allocations: 5.406 kB / 291.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.508e-05/0.001788, allocations: 7.25 kB / 291.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.001832, allocations: 2.031 kB / 291.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.001882, allocations: 6.359 kB / 291.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.001938, allocations: 2.562 kB / 291.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.001955, allocations: 3.938 kB / 291.3 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.002067, allocations: 23.11 kB / 291.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.002076, allocations: 1.375 kB / 291.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.00209, allocations: 8.656 kB / 291.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.729e-05/0.002188, allocations: 17.94 kB / 291.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-05/0.002206, allocations: 4 kB / 291.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002206, allocations: 1.25 kB / 291.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.002225, allocations: 0 / 291.3 MB, free: 7.094 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.0003399/0.002565, allocations: 217.6 kB / 291.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.002605, allocations: 8.906 kB / 291.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.002636, allocations: 2.094 kB / 291.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.795e-05/0.002724, allocations: 104 kB / 291.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.002737, allocations: 6.328 kB / 291.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.002761, allocations: 8.359 kB / 291.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.359e-05/0.002835, allocations: 30.02 kB / 291.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.002844, allocations: 4.188 kB / 291.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.002851, allocations: 1.656 kB / 291.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.002857, allocations: 384 / 291.7 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.002888, allocations: 15.58 kB / 291.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.353e-05/0.002981, allocations: 61.58 kB / 291.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.003176, allocations: 37.22 kB / 291.8 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.003196, allocations: 7.266 kB / 291.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.0034, allocations: 25.62 kB / 291.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.003424, allocations: 41.19 kB / 291.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.003426, allocations: 0 / 291.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006359/0.004061, allocations: 230.9 kB / 292.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.004098, allocations: 52.84 kB / 292.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.004151, allocations: 100.5 kB / 292.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004161, allocations: 25.7 kB / 292.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.004183, allocations: 86.05 kB / 292.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.004213, allocations: 17.3 kB / 292.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.004241, allocations: 13.06 kB / 292.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.004336, allocations: 321.3 kB / 292.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.00435, allocations: 3.906 kB / 292.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.004374, allocations: 8.594 kB / 292.7 MB, free: 5.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.004409, allocations: 19.91 kB / 292.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.00441, allocations: 0 / 292.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.568e-05/0.004466, allocations: 48.69 kB / 292.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.004479, allocations: 5.062 kB / 292.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.004484, allocations: 4 kB / 292.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.004493, allocations: 1.594 kB / 292.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.004567, allocations: 14.08 kB / 292.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.004571, allocations: 5.281 kB / 292.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.0046, allocations: 10.39 kB / 292.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.004606, allocations: 5.219 kB / 292.8 MB, free: 5.598 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.852e-05/0.004655, allocations: 111.2 kB / 293 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.004662, allocations: 2.531 kB / 293 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.004768, allocations: 62.89 kB / 293 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.00477, allocations: 0 / 293 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.004772, allocations: 1.312 kB / 293 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.004775, allocations: 0 / 293 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.005047, allocations: 228.9 kB / 293.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.005048, allocations: 3.984 kB / 293.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.00509, allocations: 14.17 kB / 293.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.005095, allocations: 3.203 kB / 293.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.005098, allocations: 8.016 kB / 293.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005103, allocations: 1.656 kB / 293.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.005106, allocations: 3.938 kB / 293.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.005108, allocations: 1.594 kB / 293.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.749e-05/0.005185, allocations: 157.4 kB / 293.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.005194, allocations: 0 / 293.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.005237, allocations: 6.984 kB / 293.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.00525, allocations: 5.969 kB / 293.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005254, allocations: 1.969 kB / 293.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.166e-05/0.005266, allocations: 13.53 kB / 293.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005266, allocations: 0 / 293.5 MB, free: 5.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.005389, allocations: 15.91 kB / 293.5 MB, free: 5.004 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.0001446/0.005534, allocations: 77.36 kB / 293.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.005616, allocations: 31.62 kB / 293.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.005621, allocations: 3.25 kB / 293.6 MB, free: 4.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.005637, allocations: 18.02 kB / 293.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.005745, allocations: 7.141 kB / 293.6 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.005951, allocations: 133.5 kB / 293.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.005982, allocations: 56.23 kB / 293.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.006006, allocations: 2 kB / 293.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.006049, allocations: 59.36 kB / 293.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.00605, allocations: 0 / 293.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Templates: time 0.002153/0.008203, allocations: 0.7783 MB / 294.6 MB, free: 3.977 MB / 282.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6712216772139072]