Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2455, allocations: 50.54 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00546/0.251, allocations: 5.039 MB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2529, allocations: 1.332 MB / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.2532, allocations: 11.94 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.2535, allocations: 162.6 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.2541, allocations: 333.2 kB / 416.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.2545, allocations: 235.6 kB / 416.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2556, allocations: 1.183 MB / 417.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.256, allocations: 313.8 kB / 417.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.2564, allocations: 458.4 kB / 418.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.257, allocations: 0.5096 MB / 418.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2571, allocations: 104 kB / 418.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2573, allocations: 104 kB / 419 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.2575, allocations: 215.2 kB / 419.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.2579, allocations: 0.525 MB / 419.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.2589, allocations: 1.2 MB / 420.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2589, allocations: 0 / 420.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2589, allocations: 0 / 420.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2589, allocations: 4 kB / 420.9 MB, free: 5.816 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002188/0.2611, allocations: 1.337 MB / 422.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2611, allocations: 8.031 kB / 422.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2613, allocations: 111.7 kB / 422.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.2622, allocations: 0.5909 MB / 423 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.2624, allocations: 147 kB / 423.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.2625, allocations: 60.12 kB / 423.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2638, allocations: 0.8431 MB / 424 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2638, allocations: 0 / 424 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.2639, allocations: 32 kB / 424 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2639, allocations: 16 kB / 424.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2652, allocations: 0.5946 MB / 424.7 MB, free: 1.848 MB / 334.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.003048/0.2683, allocations: 2.061 MB / 426.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2696, allocations: 0.849 MB / 427.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.2704, allocations: 391.5 kB / 427.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.2705, allocations: 20.64 kB / 428 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2705, allocations: 43.22 kB / 428 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.118e-06/0.2705, allocations: 4 kB / 428 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004859/0.2754, allocations: 1.796 MB / 429.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000386/0.2758, allocations: 0.8273 MB / 430.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.2765, allocations: 0.6332 MB / 431.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.2766, allocations: 45.7 kB / 431.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.2768, allocations: 337 kB / 431.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.277, allocations: 248.2 kB / 431.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.2772, allocations: 146.7 kB / 432 MB, free: 9.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2774, allocations: 382.8 kB / 432.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.2781, allocations: 277.8 kB / 432.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.279, allocations: 0.5546 MB / 433.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2803, allocations: 0.6816 MB / 433.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2803, allocations: 0 / 433.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002525/0.2828, allocations: 1.098 MB / 435 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.2829, allocations: 84.08 kB / 435.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2829, allocations: 4 kB / 435.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.2836, allocations: 239.2 kB / 435.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.2842, allocations: 139.8 kB / 435.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/0.2916, allocations: 6.932 MB / 442.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.2924, allocations: 103.3 kB / 442.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.2924, allocations: 20 kB / 442.5 MB, free: 14.73 MB / 366.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 (69): * Single equations (assignments): 62 * 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.0002995/0.2927, allocations: 225.6 kB / 442.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.2929, allocations: 87.3 kB / 442.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.293, allocations: 91.34 kB / 442.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2931, allocations: 7.984 kB / 442.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2931, allocations: 4 kB / 442.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002372/0.2954, allocations: 1.233 MB / 444.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.299, allocations: 1.924 MB / 446.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2991, allocations: 0 / 446.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.2998, allocations: 143.7 kB / 446.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/0.3003, allocations: 198.4 kB / 446.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.3003, allocations: 23.92 kB / 446.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0061/0.3064, allocations: 5.338 MB / 451.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3065, allocations: 0 / 451.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.3095, allocations: 1.395 MB / 453.2 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.3099, allocations: 239.9 kB / 453.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.31, allocations: 20 kB / 453.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.3106, allocations: 51.95 kB / 453.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.3108, allocations: 68.5 kB / 453.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.3108, allocations: 16 kB / 453.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005094/0.3113, allocations: 459 kB / 454 MB, free: 2.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3113, allocations: 0 / 454 MB, free: 2.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.3121, allocations: 279.7 kB / 454.3 MB, free: 2.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001501/0.3123, allocations: 119.2 kB / 454.4 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.3144, allocations: 1.352 MB / 455.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3144, allocations: 4 kB / 455.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.3157, allocations: 0.7614 MB / 456.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.3166, allocations: 242.8 kB / 456.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.3191, allocations: 1.597 MB / 458.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.3196, allocations: 0.94 MB / 459.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.32, allocations: 106.4 kB / 459.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3202, allocations: 63.44 kB / 459.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3202, allocations: 0 / 459.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02826/0.3485, allocations: 18.59 MB / 478 MB, free: 10.59 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches