Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001618/0.001618, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 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.001754/0.001754, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2694, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005201/0.2746, allocations: 3.979 MB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.2766, allocations: 1.188 MB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2769, allocations: 15.88 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.2772, allocations: 130.8 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005699/0.2778, allocations: 269.8 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.2782, allocations: 203.7 kB / 438.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009121/0.2791, allocations: 0.9259 MB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.2794, allocations: 180.9 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.2799, allocations: 378.6 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.2803, allocations: 402.3 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2804, allocations: 76 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.2806, allocations: 84 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.2808, allocations: 175.3 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2811, allocations: 342.6 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.282, allocations: 0.9406 MB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.282, allocations: 0 / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.282, allocations: 4 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.282, allocations: 0 / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002045/0.2841, allocations: 1.057 MB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2841, allocations: 8.031 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.2843, allocations: 92.42 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.2851, allocations: 431.2 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.2852, allocations: 148.4 kB / 443.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/0.2853, allocations: 48.38 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2868, allocations: 1.158 MB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2868, allocations: 0 / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.2868, allocations: 20 kB / 444.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2869, allocations: 12 kB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2879, allocations: 451.6 kB / 445 MB, free: 9.719 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.2908, allocations: 1.475 MB / 446.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.2927, allocations: 0.5767 MB / 447 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.2933, allocations: 238 kB / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.2933, allocations: 16.31 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2934, allocations: 47 kB / 447.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.824e-06/0.2934, allocations: 0 / 447.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005147/0.2985, allocations: 1.238 MB / 448.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002777/0.2988, allocations: 0.5644 MB / 449.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.2994, allocations: 0.5067 MB / 449.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.2994, allocations: 41.64 kB / 449.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.2997, allocations: 289.7 kB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.2998, allocations: 198.3 kB / 450.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.3, allocations: 110.3 kB / 450.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3002, allocations: 366.8 kB / 450.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.3008, allocations: 218.9 kB / 450.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3018, allocations: 0.9636 MB / 451.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3028, allocations: 499.4 kB / 452.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3028, allocations: 3.938 kB / 452.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002441/0.3053, allocations: 0.8229 MB / 453.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.3053, allocations: 37.73 kB / 453.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3053, allocations: 0 / 453.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3064, allocations: 218.4 kB / 453.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.3072, allocations: 123.8 kB / 453.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007787/0.315, allocations: 5.194 MB / 458.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.3155, allocations: 71.75 kB / 458.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.3156, allocations: 23.98 kB / 458.8 MB, free: 11.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.3158, allocations: 193.7 kB / 459 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.316, allocations: 67.56 kB / 459 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.3184, allocations: 0.7598 MB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002369/0.3208, allocations: 1.037 MB / 460.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3208, allocations: 0 / 460.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.3211, allocations: 127.4 kB / 460.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.3212, allocations: 15.94 kB / 461 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.3217, allocations: 35.95 kB / 461 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3218, allocations: 52.34 kB / 461 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002605/0.3244, allocations: 0.7837 MB / 461.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001872/0.3262, allocations: 0.9572 MB / 462.8 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005317/0.3268, allocations: 219.8 kB / 463 MB, free: 6.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004172/0.3272, allocations: 358.9 kB / 463.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of Backend: time 4.21e-07/0.3272, allocations: 0 / 463.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3295, allocations: 0.9433 MB / 464.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of SimCode: time 0.002332/0.3318, allocations: 1.852 MB / 466.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of Templates: time 0.02353/0.3553, allocations: 15.5 MB / 481.6 MB, free: 4.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.811624823996681]