Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0008297/0.0008297, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0008033/0.0008033, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8715/0.8715, allocations: 177 MB / 204.1 MB, free: 5.75 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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.908e-06/1.131e-05, allocations: 6.219 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002904/0.002915, allocations: 3.371 MB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004179, allocations: 0.9695 MB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.004354, allocations: 11.94 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.004604, allocations: 103.1 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.004896, allocations: 210.2 kB / 329.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.005108, allocations: 131.8 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.005831, allocations: 0.7144 MB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.00602, allocations: 130.8 kB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.006291, allocations: 387.2 kB / 330.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.006485, allocations: 219.4 kB / 330.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.00654, allocations: 60 kB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.563e-05/0.006596, allocations: 60 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.006665, allocations: 127.5 kB / 331 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.006804, allocations: 219.5 kB / 331.2 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.007268, allocations: 0.7126 MB / 331.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00727, allocations: 0 / 331.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007271, allocations: 0 / 331.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007277, allocations: 0 / 331.9 MB, free: 8.484 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009356/0.008212, allocations: 0.8333 MB / 332.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.008248, allocations: 11.98 kB / 332.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.19e-05/0.00834, allocations: 83.27 kB / 332.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.008414, allocations: 72.52 kB / 332.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.008873, allocations: 376.3 kB / 333.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.008961, allocations: 110.3 kB / 333.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.009001, allocations: 32.38 kB / 333.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.009633, allocations: 0.8574 MB / 334.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.009647, allocations: 4.188 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.009676, allocations: 23.94 kB / 334.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.009684, allocations: 8 kB / 334.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.01018, allocations: 334.4 kB / 334.6 MB, free: 5.523 MB / 298.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.001265/0.01144, allocations: 1.037 MB / 335.7 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.01184, allocations: 286 kB / 335.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.01207, allocations: 164.8 kB / 336.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.0121, allocations: 4 kB / 336.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.01213, allocations: 42.56 kB / 336.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.01213, allocations: 0 / 336.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001216/0.01335, allocations: 0.5755 MB / 336.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.01347, allocations: 444.9 kB / 337.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.01381, allocations: 465.8 kB / 337.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.01383, allocations: 33.7 kB / 337.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.01396, allocations: 244.7 kB / 337.9 MB, free: 2.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.01402, allocations: 126.8 kB / 338 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.01411, allocations: 81.47 kB / 338.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.01421, allocations: 358.7 kB / 338.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.01443, allocations: 173.6 kB / 338.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.01481, allocations: 0.6778 MB / 339.3 MB, free: 484 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.01525, allocations: 337.2 kB / 339.6 MB, free: 136 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01525, allocations: 4 kB / 339.6 MB, free: 132 kB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005891/0.01584, allocations: 0.4997 MB / 340.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.01587, allocations: 36.81 kB / 340.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01588, allocations: 4 kB / 340.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.016, allocations: 45.73 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.0162, allocations: 87.88 kB / 340.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.01773, allocations: 2.735 MB / 343 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.01794, allocations: 51.8 kB / 343.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.01796, allocations: 15.92 kB / 343.1 MB, free: 12.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.0181, allocations: 173.8 kB / 343.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.01815, allocations: 59.61 kB / 343.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.01846, allocations: 52.77 kB / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01847, allocations: 4 kB / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01847, allocations: 0 / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005493/0.01902, allocations: 0.7272 MB / 344.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.01995, allocations: 0.9034 MB / 345 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01995, allocations: 0 / 345 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.02017, allocations: 95.8 kB / 345.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02017, allocations: 4 kB / 345.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02019, allocations: 11.94 kB / 345.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.02019, allocations: 4 kB / 345.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.02019, allocations: 0 / 345.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.02091, allocations: 0.6493 MB / 345.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.02102, allocations: 91.58 kB / 345.8 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.02106, allocations: 11.94 kB / 345.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.02123, allocations: 27.97 kB / 345.9 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.02128, allocations: 28.02 kB / 345.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.0213, allocations: 12 kB / 345.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.02152, allocations: 327.1 kB / 346.2 MB, free: 9.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02152, allocations: 0 / 346.2 MB, free: 9.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.0218, allocations: 139.8 kB / 346.4 MB, free: 8.902 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000896/0.02269, allocations: 1.2 MB / 347.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006999/0.02339, allocations: 0.6505 MB / 348.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.0234, allocations: 7.938 kB / 348.2 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.02361, allocations: 163.8 kB / 348.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.02404, allocations: 129.9 kB / 348.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.02839, allocations: 4.613 MB / 353.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.02852, allocations: 228.7 kB / 353.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.02868, allocations: 68.33 kB / 353.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.02886, allocations: 176.4 kB / 353.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02886, allocations: 0 / 353.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.05565, allocations: 15.49 MB / 369.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/7.972, allocations: 4.062 kB / 369.1 MB, free: 2.242 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 9.606571355834603]