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.001246/0.001246, allocations: 110.6 kB / 18.4 MB, free: 4.676 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.001228/0.001228, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.00116/0.00116, allocations: 55.91 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.07754, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004803/0.08237, allocations: 4.364 MB / 380.2 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.153/0.2353, allocations: 1.246 MB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.2356, allocations: 9.312 kB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.236, allocations: 140.6 kB / 381.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.2364, allocations: 259.6 kB / 381.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.2368, allocations: 198.4 kB / 382 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.2375, allocations: 0.9367 MB / 383 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.2379, allocations: 247.7 kB / 383.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.2383, allocations: 360.4 kB / 383.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.2388, allocations: 405.7 kB / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.2389, allocations: 76.56 kB / 384 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2391, allocations: 81.75 kB / 384.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2392, allocations: 172.7 kB / 384.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.2395, allocations: 412.1 kB / 384.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008017/0.2404, allocations: 0.9263 MB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2404, allocations: 1.125 kB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2404, allocations: 0 / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2404, allocations: 0 / 385.6 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.001733/0.2421, allocations: 1.108 MB / 386.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2422, allocations: 14.27 kB / 386.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2423, allocations: 87.67 kB / 386.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.2429, allocations: 480.5 kB / 387.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.2431, allocations: 99.44 kB / 387.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.2431, allocations: 44.41 kB / 387.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.2442, allocations: 0.6491 MB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2442, allocations: 6.125 kB / 388.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.2443, allocations: 21.31 kB / 388.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2443, allocations: 11.19 kB / 388.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2453, allocations: 452.7 kB / 388.5 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.00273/0.2481, allocations: 1.951 MB / 390.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.2499, allocations: 0.6911 MB / 391.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.2504, allocations: 261 kB / 391.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.2505, allocations: 11.92 kB / 391.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2505, allocations: 48.84 kB / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 2.104e-06/0.2505, allocations: 0 / 391.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.004804/0.2553, allocations: 1.476 MB / 393 MB, free: 4.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.2554, allocations: 0.5709 MB / 393.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.256, allocations: 0.5308 MB / 394.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.2561, allocations: 43.2 kB / 394.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.2562, allocations: 288.8 kB / 394.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.2564, allocations: 185.7 kB / 394.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2566, allocations: 117.1 kB / 394.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.2566, allocations: 372.9 kB / 395.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.2572, allocations: 194.8 kB / 395.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.2578, allocations: 409.5 kB / 395.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2588, allocations: 0.4887 MB / 396.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2588, allocations: 2.5 kB / 396.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0022/0.261, allocations: 0.8043 MB / 396.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.2611, allocations: 34.66 kB / 397 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2611, allocations: 2.812 kB / 397 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/0.262, allocations: 224.7 kB / 397.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.2628, allocations: 127.3 kB / 397.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.2698, allocations: 5.605 MB / 402.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.2705, allocations: 72.7 kB / 403 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.2706, allocations: 23.06 kB / 403 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.0002803/0.2709, allocations: 202 kB / 403.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.271, allocations: 71.8 kB / 403.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.2732, allocations: 0.7744 MB / 404.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002184/0.2754, allocations: 1.032 MB / 405.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2755, allocations: 0.7969 kB / 405.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.2757, allocations: 210.5 kB / 405.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.2759, allocations: 13.69 kB / 405.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.2764, allocations: 33.22 kB / 405.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2765, allocations: 46.31 kB / 405.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002499/0.279, allocations: 0.7938 MB / 406.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001806/0.2808, allocations: 0.9661 MB / 407.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005141/0.2814, allocations: 226.1 kB / 407.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.2818, allocations: 384.5 kB / 407.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of Backend: time 6.91e-07/0.2818, allocations: 1.281 kB / 407.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.284, allocations: 0.9546 MB / 408.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of SimCode: time 0.002289/0.2863, allocations: 1.852 MB / 410.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of Templates: time 0.01955/0.3059, allocations: 13.3 MB / 423.9 MB, free: 13.35 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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