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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008305/0.0008305, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008043/0.0008043, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8548/0.8548, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.244e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003642/0.003655, allocations: 4.528 MB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004935, allocations: 1.277 MB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.005119, allocations: 15.88 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.005406, allocations: 166.5 kB / 330.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.005784, allocations: 349 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.006045, allocations: 235.5 kB / 331.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.006738, allocations: 1.222 MB / 332.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.00697, allocations: 214.5 kB / 332.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.007386, allocations: 0.6744 MB / 333.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.007685, allocations: 386.9 kB / 333.5 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.007997, allocations: 104 kB / 333.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.008087, allocations: 108 kB / 333.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.00819, allocations: 223.2 kB / 334 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.008409, allocations: 391.1 kB / 334.4 MB, free: 6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.009119, allocations: 1.25 MB / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009121, allocations: 0 / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.009122, allocations: 0 / 335.6 MB, free: 4.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.00913, allocations: 0 / 335.6 MB, free: 4.742 MB / 298.7 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.001331/0.01046, allocations: 1.28 MB / 336.9 MB, free: 3.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.0105, allocations: 15.98 kB / 336.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.01063, allocations: 123.8 kB / 337 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.01074, allocations: 116.3 kB / 337.1 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.01134, allocations: 0.5421 MB / 337.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.01149, allocations: 301.2 kB / 338 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.01155, allocations: 60.38 kB / 338 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.01255, allocations: 1.616 MB / 339.6 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.01257, allocations: 4 kB / 339.6 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.01261, allocations: 28 kB / 339.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.01262, allocations: 16 kB / 339.7 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.01343, allocations: 0.6024 MB / 340.3 MB, free: 15.62 MB / 314.7 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.002122/0.01555, allocations: 1.635 MB / 341.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.01629, allocations: 0.5784 MB / 342.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.01674, allocations: 359.2 kB / 342.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.01678, allocations: 20.58 kB / 342.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.0168, allocations: 47.22 kB / 342.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 1.933e-06/0.0168, allocations: 0 / 342.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.0025/0.0193, allocations: 1.484 MB / 344.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.01952, allocations: 0.8272 MB / 345.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.01998, allocations: 0.6293 MB / 345.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.02003, allocations: 45.7 kB / 345.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.0202, allocations: 349.2 kB / 346.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.02032, allocations: 261.7 kB / 346.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.02046, allocations: 146.7 kB / 346.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.02057, allocations: 390.7 kB / 347 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.02096, allocations: 354.9 kB / 347.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009474/0.02191, allocations: 1.391 MB / 348.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.0227, allocations: 0.6779 MB / 349.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02271, allocations: 0 / 349.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001413/0.02412, allocations: 1.166 MB / 350.6 MB, free: 4.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.02416, allocations: 89.11 kB / 350.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.02417, allocations: 4 kB / 350.7 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.02457, allocations: 239.2 kB / 350.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.02487, allocations: 143.8 kB / 351.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.02928, allocations: 6.467 MB / 357.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.02963, allocations: 99.69 kB / 357.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.02966, allocations: 24 kB / 357.7 MB, free: 13.02 MB / 330.7 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.0001981/0.02986, allocations: 221.7 kB / 357.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.02994, allocations: 87.48 kB / 358 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.03003, allocations: 95.33 kB / 358.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.03003, allocations: 7.938 kB / 358.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.03003, allocations: 4.125 kB / 358.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.03133, allocations: 1.237 MB / 359.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.03337, allocations: 1.736 MB / 361 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.03337, allocations: 0 / 361 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.0337, allocations: 143.8 kB / 361.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.03398, allocations: 194.5 kB / 361.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.03401, allocations: 12 kB / 361.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.0374, allocations: 5.006 MB / 366.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0374, allocations: 3.984 kB / 366.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.03914, allocations: 1.399 MB / 367.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.03936, allocations: 167.2 kB / 368 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.03942, allocations: 23.94 kB / 368 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.03973, allocations: 47.95 kB / 368 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.03984, allocations: 64.53 kB / 368.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.03986, allocations: 20 kB / 368.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003317/0.04019, allocations: 455 kB / 368.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04019, allocations: 4 kB / 368.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007305/0.04092, allocations: 287.7 kB / 368.8 MB, free: 1.289 MB / 330.7 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.001973/0.04289, allocations: 1.955 MB / 370.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.04413, allocations: 1.392 MB / 372.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.04413, allocations: 4 kB / 372.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.04483, allocations: 0.7496 MB / 372.9 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.04542, allocations: 244 kB / 373.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/0.05321, allocations: 7.797 MB / 381 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.05341, allocations: 350.2 kB / 381.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.05364, allocations: 106.4 kB / 381.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.05391, allocations: 304.4 kB / 381.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of SimCode: time 4.2e-07/0.05391, allocations: 0 / 381.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.09243, allocations: 28.3 MB / 410 MB, free: 8.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.613, allocations: 7.797 kB / 410 MB, free: 8.039 MB / 378.7 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.229549529962242]