Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.002628/0.002628, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002947/0.002947, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.343/1.343, 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.2112/0.2112, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.251e-05, allocations: 2.312 kB / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001329/0.001352, allocations: 0.5005 MB / 347.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.002857, allocations: 1.359 MB / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.002887, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.0029, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.002939, allocations: 0 / 348.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.003589, allocations: 219.8 kB / 349 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.003641, allocations: 8 kB / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.003686, allocations: 4 kB / 349 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.00373, allocations: 3.984 kB / 349 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.003795, allocations: 11.94 kB / 349 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.003816, allocations: 3.984 kB / 349 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.004373, allocations: 255.6 kB / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.004391, allocations: 4 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.004412, allocations: 0 / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.004755, allocations: 195.5 kB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004759, allocations: 4 kB / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00476, allocations: 0 / 349.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.004764, allocations: 0 / 349.5 MB, free: 7.234 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004187/0.005183, allocations: 360.2 kB / 349.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.005231, allocations: 12.03 kB / 349.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.005288, allocations: 4.938 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.005384, allocations: 112.6 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.005402, allocations: 384 / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005415, allocations: 384 / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.005547, allocations: 67.83 kB / 350 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.00556, allocations: 192 / 350 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.005573, allocations: 384 / 350 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005579, allocations: 3.938 kB / 350 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.00561, allocations: 4 kB / 350 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.005744, allocations: 120.6 kB / 350.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.005806, allocations: 23.06 kB / 350.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.005831, allocations: 11.75 kB / 350.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.005846, allocations: 0 / 350.2 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.005874, allocations: 41.31 kB / 350.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.005875, allocations: 0 / 350.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001937/0.006068, allocations: 37.7 kB / 350.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.006094, allocations: 55.34 kB / 350.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.006162, allocations: 153.9 kB / 350.5 MB, free: 6.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.006173, allocations: 25.95 kB / 350.5 MB, free: 6.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.006202, allocations: 134.9 kB / 350.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.006232, allocations: 4 kB / 350.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.006269, allocations: 19.38 kB / 350.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.006352, allocations: 492.1 kB / 351.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.00637, allocations: 4 kB / 351.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.00638, allocations: 0 / 351.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.006413, allocations: 15.62 kB / 351.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006415, allocations: 0 / 351.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.078e-05/0.006486, allocations: 41.69 kB / 351.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.006501, allocations: 8.094 kB / 351.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.006506, allocations: 0 / 351.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.006523, allocations: 0 / 351.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.006594, allocations: 4 kB / 351.2 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.006602, allocations: 3.938 kB / 351.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.00662, allocations: 0 / 351.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.006629, allocations: 0 / 351.2 MB, free: 5.301 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 (1): * Single equations (assignments): 1 * 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 5.93e-05/0.006689, allocations: 156.6 kB / 351.4 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.006705, allocations: 3.953 kB / 351.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.006856, allocations: 52.78 kB / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006859, allocations: 0 / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.006865, allocations: 3.938 kB / 351.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006868, allocations: 3.938 kB / 351.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.797e-05/0.006936, allocations: 112.6 kB / 351.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.006942, allocations: 0 / 351.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.006943, allocations: 0 / 351.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006945, allocations: 0 / 351.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.006954, allocations: 8 kB / 351.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006955, allocations: 4.031 kB / 351.5 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.006957, allocations: 3.984 kB / 351.5 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.694e-05/0.007044, allocations: 76.33 kB / 351.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.007053, allocations: 7.984 kB / 351.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007068, allocations: 0 / 351.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.007152, allocations: 0 / 351.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.007175, allocations: 0 / 351.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.007182, allocations: 7.938 kB / 351.6 MB, free: 4.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.577e-05/0.007208, allocations: 119.2 kB / 351.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007208, allocations: 4.125 kB / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.007557, allocations: 43.92 kB / 351.8 MB, free: 4.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002651/0.007822, allocations: 139.2 kB / 351.9 MB, free: 4.484 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.007912, allocations: 15.67 kB / 351.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007914, allocations: 0 / 351.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.007946, allocations: 41.39 kB / 352 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.008093, allocations: 7.938 kB / 352 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.008312, allocations: 89.58 kB / 352.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.008345, allocations: 67.41 kB / 352.1 MB, free: 4.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.589e-05/0.008361, allocations: 3.984 kB / 352.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.008378, allocations: 12.5 kB / 352.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008378, allocations: 0 / 352.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Templates: time 0.003697/0.01208, allocations: 1.119 MB / 353.3 MB, free: 3.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 5.045305214938708]