Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.001333/0.001333, allocations: 110.8 kB / 21.2 MB, free: 488 kB / 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.001489/0.001489, allocations: 210.8 kB / 24.49 MB, free: 3.66 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.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.2305/0.2305, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 75.83 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3727, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0144/0.3871, allocations: 11.76 MB / 0.5733 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008357/0.3955, allocations: 4.962 MB / 0.5782 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.3959, allocations: 27.75 kB / 0.5782 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.3966, allocations: 202.7 kB / 0.5784 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.3986, allocations: 0.7192 MB / 0.5791 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.4024, allocations: 1.593 MB / 0.5806 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.4043, allocations: 1.301 MB / 0.5819 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.4048, allocations: 280.2 kB / 0.5822 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008994/0.4057, allocations: 0.5334 MB / 0.5827 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.4065, allocations: 0.4905 MB / 0.5832 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.4065, allocations: 44 kB / 0.5832 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.4083, allocations: 0.9205 MB / 0.5841 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.4085, allocations: 179.4 kB / 0.5843 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.4088, allocations: 215.1 kB / 0.5845 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.4106, allocations: 1.324 MB / 0.5858 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4106, allocations: 0 / 0.5858 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4106, allocations: 0 / 0.5858 GB, free: 11.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.4106, allocations: 0 / 0.5858 GB, free: 11.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002227/0.4129, allocations: 0.9025 MB / 0.5867 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4129, allocations: 8.031 kB / 0.5867 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.4132, allocations: 60.61 kB / 0.5867 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.414, allocations: 406.7 kB / 0.5871 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.4141, allocations: 20.66 kB / 0.5871 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.4141, allocations: 31.98 kB / 0.5872 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4152, allocations: 0.7817 MB / 0.5879 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4152, allocations: 0 / 0.5879 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.4152, allocations: 8 kB / 0.5879 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/0.4153, allocations: 28.64 kB / 0.588 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007476/0.416, allocations: 0.4921 MB / 0.5884 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.4192, allocations: 1.809 MB / 0.5902 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.4196, allocations: 256.3 kB / 0.5905 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.4198, allocations: 154.3 kB / 0.5906 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009821/0.4208, allocations: 0.5468 MB / 0.5911 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.4212, allocations: 360.4 kB / 0.5915 GB, free: 5.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.4213, allocations: 0 / 0.5915 GB, free: 5.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007312/0.422, allocations: 452.4 kB / 0.5919 GB, free: 4.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4221, allocations: 243.3 kB / 0.5921 GB, free: 4.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.4226, allocations: 461.7 kB / 0.5926 GB, free: 4.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.4227, allocations: 29.7 kB / 0.5926 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.4229, allocations: 303.8 kB / 0.5929 GB, free: 3.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.423, allocations: 59.52 kB / 0.593 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.4231, allocations: 97.62 kB / 0.593 GB, free: 3.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4233, allocations: 358.7 kB / 0.5934 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.4236, allocations: 166.9 kB / 0.5935 GB, free: 3.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.4241, allocations: 0.489 MB / 0.594 GB, free: 2.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.4246, allocations: 465.2 kB / 0.5945 GB, free: 2.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4246, allocations: 4 kB / 0.5945 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000875/0.4255, allocations: 0.5606 MB / 0.595 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.4256, allocations: 45.62 kB / 0.5951 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4256, allocations: 12.06 kB / 0.5951 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4256, allocations: 4 kB / 0.5951 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4259, allocations: 75.91 kB / 0.5952 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4259, allocations: 11.94 kB / 0.5952 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.4263, allocations: 51.61 kB / 0.5952 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.4263, allocations: 20.38 kB / 0.5952 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003974/0.4267, allocations: 306.2 kB / 0.5955 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004756/0.4272, allocations: 0.4937 MB / 0.596 GB, free: 288 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005579/0.4278, allocations: 454.4 kB / 0.5964 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.4278, allocations: 4 kB / 0.5964 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.000867/0.4287, allocations: 0.5549 MB / 0.597 GB, free: 15.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4287, allocations: 37.7 kB / 0.597 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4287, allocations: 8.531 kB / 0.597 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.944e-06/0.4287, allocations: 11.98 kB / 0.597 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.429, allocations: 79.84 kB / 0.5971 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.429, allocations: 8 kB / 0.5971 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.4294, allocations: 43.77 kB / 0.5972 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4294, allocations: 20 kB / 0.5972 GB, free: 14.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0002047/0.4296, allocations: 248.4 kB / 0.5974 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.4297, allocations: 51.66 kB / 0.5975 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.4304, allocations: 383.6 kB / 0.5978 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4304, allocations: 11.92 kB / 0.5978 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4304, allocations: 4 kB / 0.5979 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.4305, allocations: 39.59 kB / 0.5979 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.4305, allocations: 8 kB / 0.5979 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4308, allocations: 15.98 kB / 0.5979 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.4308, allocations: 11.92 kB / 0.5979 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000596/0.4314, allocations: 475.5 kB / 0.5984 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007164/0.4321, allocations: 0.533 MB / 0.5989 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001827/0.4323, allocations: 125.6 kB / 0.599 GB, free: 13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003761/0.4327, allocations: 311.1 kB / 0.5993 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.4327, allocations: 4 kB / 0.5993 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.4349, allocations: 0.9774 MB / 0.6003 GB, free: 11.67 MB / 446.1 MB Notification: Performance of SimCode: time 0.001973/0.4368, allocations: 1.393 MB / 0.6016 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Templates: time 0.02455/0.4614, allocations: 14.19 MB / 0.6155 GB, free: 12.18 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.690047893003793]