Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 113.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 188.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005619/0.1165, allocations: 4.361 MB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2018/0.3183, allocations: 1.249 MB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.3192, allocations: 5.5 kB / 380.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.32, allocations: 140.6 kB / 380.9 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3211, allocations: 276.8 kB / 381.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.3218, allocations: 190.7 kB / 381.3 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3233, allocations: 0.9366 MB / 382.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.3238, allocations: 247.3 kB / 382.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008223/0.3246, allocations: 368.5 kB / 382.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.3252, allocations: 409.7 kB / 383.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.3253, allocations: 75.06 kB / 383.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3255, allocations: 78.34 kB / 383.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.3257, allocations: 170.8 kB / 383.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.3261, allocations: 415.1 kB / 384 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3271, allocations: 0.9224 MB / 384.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3271, allocations: 1.25 kB / 384.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3271, allocations: 0 / 384.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3272, allocations: 0.6094 kB / 384.9 MB, free: 8.5 MB / 318.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.001872/0.329, allocations: 1.113 MB / 386 MB, free: 7.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3291, allocations: 9.156 kB / 386.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3292, allocations: 86.31 kB / 386.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.3299, allocations: 478.4 kB / 386.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3301, allocations: 101 kB / 386.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.3302, allocations: 51.66 kB / 386.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3313, allocations: 0.6468 MB / 387.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3314, allocations: 7.906 kB / 387.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.3314, allocations: 23.28 kB / 387.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3314, allocations: 10.41 kB / 387.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3325, allocations: 448.1 kB / 387.9 MB, free: 6.652 MB / 318.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.003061/0.3356, allocations: 1.947 MB / 389.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3375, allocations: 0.6937 MB / 390.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.338, allocations: 264.5 kB / 390.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.3381, allocations: 18.61 kB / 390.8 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.3381, allocations: 39.38 kB / 390.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.044e-06/0.3382, allocations: 0 / 390.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.00496/0.3431, allocations: 1.475 MB / 392.3 MB, free: 4.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.3433, allocations: 0.5712 MB / 392.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.3441, allocations: 0.5358 MB / 393.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.3442, allocations: 38.61 kB / 393.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3444, allocations: 289.9 kB / 393.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3446, allocations: 188 kB / 393.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3448, allocations: 113.4 kB / 394 MB, free: 2.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3449, allocations: 376.2 kB / 394.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.3454, allocations: 190 kB / 394.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.3461, allocations: 422.8 kB / 395 MB, free: 2.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3472, allocations: 488 kB / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3472, allocations: 0 / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002318/0.3495, allocations: 0.8111 MB / 396.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.3495, allocations: 32.08 kB / 396.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3496, allocations: 1.188 kB / 396.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.3505, allocations: 220.9 kB / 396.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.3513, allocations: 130.2 kB / 396.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007724/0.359, allocations: 5.602 MB / 402.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3601, allocations: 79.02 kB / 402.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.3602, allocations: 19.83 kB / 402.4 MB, free: 12.55 MB / 334.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.0003676/0.3605, allocations: 199.5 kB / 402.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3607, allocations: 70.91 kB / 402.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.363, allocations: 0.7773 MB / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.3631, allocations: 6.531 kB / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.3631, allocations: 0 / 403.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002253/0.3653, allocations: 1.044 MB / 404.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.369, allocations: 1.502 MB / 406 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.369, allocations: 3.938 kB / 406 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.3698, allocations: 126.3 kB / 406.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.3707, allocations: 176.9 kB / 406.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.3708, allocations: 21.55 kB / 406.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006045/0.3768, allocations: 3.795 MB / 410.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3768, allocations: 3.625 kB / 410.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.3801, allocations: 1.069 MB / 411.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.3807, allocations: 201.9 kB / 411.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3808, allocations: 18.22 kB / 411.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.3813, allocations: 32.28 kB / 411.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.3815, allocations: 44.53 kB / 411.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.3816, allocations: 21.55 kB / 411.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.3821, allocations: 384.7 kB / 411.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3821, allocations: 0 / 411.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009633/0.3831, allocations: 218 kB / 412 MB, free: 5.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002104/0.3833, allocations: 122.4 kB / 412.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3859, allocations: 1.031 MB / 413.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.386, allocations: 1.25 kB / 413.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.387, allocations: 0.5337 MB / 413.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3881, allocations: 193.1 kB / 413.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.3907, allocations: 1.277 MB / 415.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.3912, allocations: 0.8866 MB / 416.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.3917, allocations: 84.5 kB / 416.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3918, allocations: 54.95 kB / 416.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3918, allocations: 0 / 416.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of Templates: time 0.02326/0.4151, allocations: 14.2 MB / 430.4 MB, free: 5.75 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches