Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 120.7 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 374.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 53.31 MB / 427.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006239/0.1085, allocations: 4.405 MB / 432.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.195/0.3035, allocations: 1.244 MB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.3039, allocations: 10.47 kB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.3043, allocations: 137.8 kB / 433.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.3049, allocations: 271 kB / 433.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3053, allocations: 199.6 kB / 434.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008851/0.3062, allocations: 0.9302 MB / 435 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3065, allocations: 166.2 kB / 435.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.307, allocations: 367.8 kB / 435.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.3075, allocations: 407.4 kB / 435.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3076, allocations: 76.66 kB / 436 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.3077, allocations: 83.58 kB / 436.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3078, allocations: 169 kB / 436.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.3082, allocations: 419 kB / 436.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.3092, allocations: 0.9261 MB / 437.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3092, allocations: 2.031 kB / 437.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3092, allocations: 4 kB / 437.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3093, allocations: 0 / 437.6 MB, free: 7.164 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.002038/0.3113, allocations: 1.13 MB / 438.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3113, allocations: 9.578 kB / 438.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.3116, allocations: 91.05 kB / 438.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.3124, allocations: 499.1 kB / 439.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.3125, allocations: 97.78 kB / 439.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.3126, allocations: 42.5 kB / 439.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.3137, allocations: 0.6582 MB / 440.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3137, allocations: 2.203 kB / 440.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.3137, allocations: 22.62 kB / 440.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3137, allocations: 11.19 kB / 440.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3148, allocations: 448.5 kB / 440.6 MB, free: 5.297 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.003124/0.3179, allocations: 1.954 MB / 442.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3197, allocations: 0.6632 MB / 443.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.3203, allocations: 234.2 kB / 443.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.3203, allocations: 20.53 kB / 443.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3204, allocations: 40.19 kB / 443.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.885e-06/0.3204, allocations: 0 / 443.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005067/0.3254, allocations: 1.477 MB / 444.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.3256, allocations: 0.5667 MB / 445.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.3263, allocations: 0.5444 MB / 446.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.448e-05/0.3264, allocations: 38.33 kB / 446.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.3265, allocations: 281.4 kB / 446.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3267, allocations: 201.5 kB / 446.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3268, allocations: 113.6 kB / 446.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.3269, allocations: 367.7 kB / 447 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.3274, allocations: 199 kB / 447.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.328, allocations: 414.4 kB / 447.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.329, allocations: 493.5 kB / 448.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.329, allocations: 0 / 448.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002236/0.3312, allocations: 0.8037 MB / 448.9 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.3312, allocations: 37.14 kB / 449 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3313, allocations: 1.734 kB / 449 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.3323, allocations: 220.5 kB / 449.2 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.333, allocations: 128.3 kB / 449.3 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008194/0.3412, allocations: 5.609 MB / 454.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.3421, allocations: 80.66 kB / 455 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.3421, allocations: 19.91 kB / 455 MB, free: 11.19 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.0004122/0.3426, allocations: 194.4 kB / 455.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.3427, allocations: 77.23 kB / 455.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.3451, allocations: 0.7688 MB / 456 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3451, allocations: 6.391 kB / 456.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3451, allocations: 4 kB / 456.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002251/0.3474, allocations: 1.034 MB / 457.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.3509, allocations: 1.489 MB / 458.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.3509, allocations: 6.188 kB / 458.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.3516, allocations: 131 kB / 458.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008627/0.3525, allocations: 172.5 kB / 458.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.3526, allocations: 12.75 kB / 458.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005839/0.3584, allocations: 3.809 MB / 462.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3584, allocations: 3.938 kB / 462.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.3616, allocations: 1.074 MB / 463.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.3621, allocations: 207.1 kB / 464 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3622, allocations: 13.66 kB / 464 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.3628, allocations: 37.33 kB / 464 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3629, allocations: 43.84 kB / 464.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.363, allocations: 18.69 kB / 464.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.3635, allocations: 392.9 kB / 464.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3635, allocations: 0 / 464.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008544/0.3643, allocations: 219 kB / 464.7 MB, free: 4.641 MB / 366.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.0001575/0.3645, allocations: 113.3 kB / 464.8 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.367, allocations: 1.011 MB / 465.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.367, allocations: 2.156 kB / 465.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.368, allocations: 0.5137 MB / 466.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.369, allocations: 185.9 kB / 466.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3715, allocations: 1.322 MB / 467.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.372, allocations: 0.8904 MB / 468.7 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3722, allocations: 58.56 kB / 468.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3722, allocations: 0 / 468.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of Templates: time 0.02095/0.3931, allocations: 15.49 MB / 484.3 MB, free: 6.023 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.661076804040931]