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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2347, allocations: 50.55 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006237/0.241, allocations: 5.046 MB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2438, allocations: 1.33 MB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.2444, allocations: 11.94 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.245, allocations: 162.5 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008865/0.2459, allocations: 329.2 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.2464, allocations: 227.6 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.248, allocations: 1.183 MB / 417 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.2485, allocations: 306 kB / 417.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.2493, allocations: 458.3 kB / 417.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.2501, allocations: 0.5019 MB / 418.3 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.2503, allocations: 104 kB / 418.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.2506, allocations: 108 kB / 418.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.2508, allocations: 223.2 kB / 418.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006842/0.2515, allocations: 0.5249 MB / 419.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2527, allocations: 1.203 MB / 420.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2527, allocations: 4 kB / 420.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2527, allocations: 0 / 420.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.2527, allocations: 0 / 420.4 MB, free: 5.812 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.002366/0.2551, allocations: 1.337 MB / 421.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2552, allocations: 16.03 kB / 421.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.2554, allocations: 127.7 kB / 421.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2555, allocations: 107.8 kB / 422 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.2565, allocations: 0.5871 MB / 422.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.2567, allocations: 143 kB / 422.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.2568, allocations: 67.84 kB / 422.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.2583, allocations: 0.8587 MB / 423.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.2583, allocations: 4 kB / 423.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.2584, allocations: 28 kB / 423.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/0.2585, allocations: 12 kB / 423.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2598, allocations: 0.6063 MB / 424.3 MB, free: 1.684 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.003309/0.2631, allocations: 2.084 MB / 426.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2645, allocations: 0.8561 MB / 427.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.2653, allocations: 399.5 kB / 427.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.2654, allocations: 12.64 kB / 427.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2655, allocations: 47.22 kB / 427.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.245e-06/0.2655, allocations: 0 / 427.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004913/0.2704, allocations: 1.797 MB / 429.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003621/0.2708, allocations: 0.8234 MB / 430.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.2715, allocations: 0.6409 MB / 431 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.2716, allocations: 37.7 kB / 431 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.2718, allocations: 340.9 kB / 431.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.272, allocations: 260.2 kB / 431.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.2723, allocations: 142.7 kB / 431.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2724, allocations: 386.8 kB / 432.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.2731, allocations: 269.8 kB / 432.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.274, allocations: 0.5554 MB / 432.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.2754, allocations: 0.6818 MB / 433.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2754, allocations: 3.938 kB / 433.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002796/0.2782, allocations: 1.102 MB / 434.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/0.2783, allocations: 85.11 kB / 434.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2783, allocations: 0 / 434.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.279, allocations: 239.2 kB / 435 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.2797, allocations: 139.8 kB / 435.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007902/0.2876, allocations: 6.936 MB / 442.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/0.2886, allocations: 99.36 kB / 442.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.2887, allocations: 20 kB / 442.2 MB, free: 14.52 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.000411/0.2891, allocations: 221.7 kB / 442.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.2894, allocations: 95 kB / 442.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.2896, allocations: 87.34 kB / 442.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2896, allocations: 8 kB / 442.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2896, allocations: 192 / 442.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002415/0.292, allocations: 1.237 MB / 443.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.2959, allocations: 1.939 MB / 445.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2959, allocations: 0 / 445.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.2966, allocations: 135.8 kB / 445.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.2971, allocations: 198.5 kB / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.212e-05/0.2972, allocations: 19.94 kB / 446.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.3038, allocations: 5.345 MB / 451.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3038, allocations: 3.938 kB / 451.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.3071, allocations: 1.384 MB / 452.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.3076, allocations: 243.8 kB / 453.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.3078, allocations: 19.98 kB / 453.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.3085, allocations: 51.95 kB / 453.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.3087, allocations: 60.58 kB / 453.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.3088, allocations: 20.17 kB / 453.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006265/0.3094, allocations: 459 kB / 453.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3095, allocations: 0 / 453.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009988/0.3105, allocations: 283.7 kB / 454 MB, free: 2.082 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.003614/0.3141, allocations: 1.965 MB / 455.9 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.3165, allocations: 1.36 MB / 457.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3165, allocations: 240 / 457.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3179, allocations: 0.7728 MB / 458.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.319, allocations: 239 kB / 458.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.3317, allocations: 7.522 MB / 465.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3322, allocations: 0.9401 MB / 466.8 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000431/0.3327, allocations: 102.4 kB / 466.9 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.333, allocations: 303.3 kB / 467.2 MB, free: 4.52 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.333, allocations: 0 / 467.2 MB, free: 4.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/0.4565, allocations: 26.58 MB / 493.7 MB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.95, allocations: 11.91 kB / 493.8 MB, free: 10.31 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > 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