Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001436, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001434/0.001434, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.459/1.459, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.00135/0.00135, allocations: 47.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09131, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2147/0.306, allocations: 4.922 MB / 380.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.3098, allocations: 1.333 MB / 381.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.3107, allocations: 12.25 kB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.3113, allocations: 166.8 kB / 381.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.3124, allocations: 327.6 kB / 381.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.3132, allocations: 226.1 kB / 382.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3148, allocations: 1.164 MB / 383.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.3154, allocations: 327.1 kB / 383.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.3159, allocations: 446.4 kB / 384 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.3165, allocations: 0.4967 MB / 384.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.3167, allocations: 105.8 kB / 384.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3169, allocations: 103.5 kB / 384.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3171, allocations: 222.7 kB / 385 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.3175, allocations: 0.5133 MB / 385.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.3188, allocations: 1.18 MB / 386.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3188, allocations: 4 kB / 386.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3188, allocations: 0 / 386.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.3189, allocations: 0 / 386.6 MB, free: 7.801 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002425/0.3213, allocations: 1.306 MB / 388 MB, free: 6.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3213, allocations: 13.64 kB / 388 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3215, allocations: 113.5 kB / 388.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008646/0.3224, allocations: 0.5458 MB / 388.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3226, allocations: 145.6 kB / 388.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.3227, allocations: 65.08 kB / 388.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.324, allocations: 0.8385 MB / 389.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.324, allocations: 1.953 kB / 389.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.3241, allocations: 28.16 kB / 389.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3241, allocations: 17.69 kB / 389.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3254, allocations: 0.5578 MB / 390.3 MB, free: 5.559 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.003337/0.3287, allocations: 2.093 MB / 392.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3304, allocations: 0.9627 MB / 393.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/0.3311, allocations: 371.8 kB / 393.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.3311, allocations: 16.62 kB / 393.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3312, allocations: 46.61 kB / 393.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 4.218e-06/0.3312, allocations: 5.266 kB / 393.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004716/0.3359, allocations: 1.742 MB / 395.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3361, allocations: 0.8235 MB / 396.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.3369, allocations: 0.634 MB / 397 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.337, allocations: 46.08 kB / 397 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.3372, allocations: 333 kB / 397.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3374, allocations: 248.8 kB / 397.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.3377, allocations: 145.4 kB / 397.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3378, allocations: 393.4 kB / 398.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.3384, allocations: 244.6 kB / 398.3 MB, free: 488 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.3391, allocations: 0.5339 MB / 398.9 MB, free: 68 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3404, allocations: 0.6494 MB / 399.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3405, allocations: 4 kB / 399.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002525/0.343, allocations: 1.048 MB / 400.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.3431, allocations: 84.48 kB / 400.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3431, allocations: 5.375 kB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.3438, allocations: 229.3 kB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.3444, allocations: 134.3 kB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008558/0.353, allocations: 6.938 MB / 408 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3542, allocations: 94 kB / 408 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.3543, allocations: 23.92 kB / 408.1 MB, free: 8.703 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004722/0.3548, allocations: 225.1 kB / 408.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.355, allocations: 84.59 kB / 408.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3552, allocations: 89.84 kB / 408.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.3552, allocations: 11.38 kB / 408.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.3553, allocations: 0 / 408.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002638/0.3579, allocations: 1.183 MB / 409.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/0.3625, allocations: 1.872 MB / 411.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3625, allocations: 1.125 kB / 411.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.3632, allocations: 125.2 kB / 411.6 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.3637, allocations: 199.4 kB / 411.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.3638, allocations: 24.55 kB / 411.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.3709, allocations: 5.304 MB / 417.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3709, allocations: 3.938 kB / 417.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.3741, allocations: 1.311 MB / 418.5 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.3748, allocations: 237.2 kB / 418.7 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.375, allocations: 19.62 kB / 418.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.3756, allocations: 42.72 kB / 418.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3758, allocations: 58.45 kB / 418.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.3759, allocations: 21.3 kB / 418.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000711/0.3766, allocations: 460.2 kB / 419.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3766, allocations: 0 / 419.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001573/0.3782, allocations: 285.5 kB / 419.6 MB, free: 15.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.3784, allocations: 125.3 kB / 419.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.381, allocations: 1.3 MB / 421 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.381, allocations: 2.75 kB / 421 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.3821, allocations: 0.6896 MB / 421.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3832, allocations: 240.7 kB / 421.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.3863, allocations: 1.598 MB / 423.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.3868, allocations: 0.9362 MB / 424.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.3873, allocations: 102.4 kB / 424.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3875, allocations: 67.44 kB / 424.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3875, allocations: 0 / 424.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Templates: time 0.02768/0.4152, allocations: 18.08 MB / 442.7 MB, free: 9.258 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches