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.001659/0.001659, allocations: 114.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 207.9 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.695/2.695, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002292, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4465, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.009327/0.4559, allocations: 5.046 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.4598, allocations: 1.328 MB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/0.4606, allocations: 11.94 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.4614, allocations: 162.6 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4626, allocations: 325.2 kB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.4634, allocations: 223.6 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.4656, allocations: 1.176 MB / 418.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.4663, allocations: 317.8 kB / 418.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.4672, allocations: 462.4 kB / 418.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000929/0.4681, allocations: 0.5018 MB / 419.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4684, allocations: 104 kB / 419.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.4687, allocations: 108 kB / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.4689, allocations: 227.2 kB / 419.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007384/0.4697, allocations: 0.5211 MB / 420.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.4715, allocations: 1.193 MB / 421.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4715, allocations: 3.938 kB / 421.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4715, allocations: 3.938 kB / 421.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.4715, allocations: 0 / 421.6 MB, free: 5.836 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.003916/0.4755, allocations: 1.341 MB / 422.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.4755, allocations: 12.03 kB / 422.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.4759, allocations: 111.7 kB / 423.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.4775, allocations: 0.5871 MB / 423.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.4779, allocations: 143 kB / 423.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.478, allocations: 60.12 kB / 423.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4805, allocations: 0.847 MB / 424.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.4805, allocations: 0 / 424.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.4806, allocations: 24 kB / 424.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4807, allocations: 12 kB / 424.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.483, allocations: 0.6062 MB / 425.3 MB, free: 1.863 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.005582/0.4886, allocations: 2.049 MB / 427.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.4909, allocations: 0.857 MB / 428.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4923, allocations: 391.5 kB / 428.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.4924, allocations: 16.62 kB / 428.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.4925, allocations: 47.22 kB / 428.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.789e-06/0.4925, allocations: 4 kB / 428.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.008561/0.5011, allocations: 1.793 MB / 430.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004735/0.5016, allocations: 0.8311 MB / 431.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.503, allocations: 0.6293 MB / 431.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.5032, allocations: 45.7 kB / 432 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.5037, allocations: 329 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.5041, allocations: 264.2 kB / 432.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.5045, allocations: 142.7 kB / 432.7 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.5048, allocations: 386.8 kB / 433.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.5059, allocations: 265.8 kB / 433.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.5075, allocations: 0.5546 MB / 433.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.5098, allocations: 0.6817 MB / 434.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5098, allocations: 0 / 434.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004564/0.5144, allocations: 1.102 MB / 435.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.5145, allocations: 85.11 kB / 435.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5146, allocations: 3.938 kB / 435.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5157, allocations: 235.2 kB / 436 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.5168, allocations: 139.8 kB / 436.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.5297, allocations: 6.935 MB / 443.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5313, allocations: 107.3 kB / 443.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.5315, allocations: 20 kB / 443.2 MB, free: 14.75 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.0007179/0.5323, allocations: 225.6 kB / 443.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/0.5327, allocations: 87.06 kB / 443.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.533, allocations: 87.34 kB / 443.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.533, allocations: 8 kB / 443.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5331, allocations: 0 / 443.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004269/0.5373, allocations: 1.237 MB / 444.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.5443, allocations: 1.927 MB / 446.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.5444, allocations: 0 / 446.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.5455, allocations: 135.8 kB / 446.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009432/0.5465, allocations: 202.5 kB / 447.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5466, allocations: 15.98 kB / 447.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.5576, allocations: 5.341 MB / 452.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5576, allocations: 0 / 452.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/0.5634, allocations: 1.399 MB / 453.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/0.5644, allocations: 243.9 kB / 454.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.5647, allocations: 20 kB / 454.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.5659, allocations: 47.95 kB / 454.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.5663, allocations: 60.56 kB / 454.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/0.5663, allocations: 16 kB / 454.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.5674, allocations: 463 kB / 454.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5674, allocations: 0 / 454.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001725/0.5692, allocations: 279.7 kB / 454.9 MB, free: 2.328 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.0002781/0.5695, allocations: 124.2 kB / 455.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.5735, allocations: 1.352 MB / 456.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.5735, allocations: 4.125 kB / 456.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.576, allocations: 0.7652 MB / 457.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.5781, allocations: 250.3 kB / 457.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.5832, allocations: 1.626 MB / 459.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009335/0.5842, allocations: 0.9439 MB / 460 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.5847, allocations: 67.42 kB / 460.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5847, allocations: 0 / 460.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of Templates: time 0.04679/0.6315, allocations: 22.72 MB / 482.8 MB, free: 6.359 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches