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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 108.8 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.88 kB / 306.5 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08787, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005063/0.09298, allocations: 3.708 MB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.09485, allocations: 1.009 MB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00038/0.09525, allocations: 4 kB / 361.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.09567, allocations: 95.36 kB / 361.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.09621, allocations: 170.6 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.09652, allocations: 119.8 kB / 362.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.09735, allocations: 0.6692 MB / 362.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.09765, allocations: 190.5 kB / 363 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.098, allocations: 259 kB / 363.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.09843, allocations: 298.8 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.09853, allocations: 56 kB / 363.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.09864, allocations: 60 kB / 363.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.09875, allocations: 123.5 kB / 363.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.09905, allocations: 310.5 kB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.09965, allocations: 0.689 MB / 364.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09966, allocations: 0 / 364.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09967, allocations: 0 / 364.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.09969, allocations: 0 / 364.8 MB, free: 6.559 MB / 302.1 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.001515/0.1012, allocations: 0.8855 MB / 365.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1013, allocations: 12.03 kB / 365.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.1014, allocations: 79.28 kB / 365.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1015, allocations: 72.22 kB / 365.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.1021, allocations: 434.4 kB / 366.3 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.1023, allocations: 78.89 kB / 366.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.1024, allocations: 36.38 kB / 366.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.1032, allocations: 0.4969 MB / 366.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1032, allocations: 0 / 366.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1032, allocations: 16 kB / 366.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1033, allocations: 8 kB / 366.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008247/0.1041, allocations: 374.4 kB / 367.3 MB, free: 3.93 MB / 302.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.001809/0.1059, allocations: 1.302 MB / 368.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.1066, allocations: 400.4 kB / 369 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.107, allocations: 196.8 kB / 369.2 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.107, allocations: 4 kB / 369.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1071, allocations: 38.56 kB / 369.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.1071, allocations: 0 / 369.2 MB, free: 1.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001531/0.1086, allocations: 0.7664 MB / 370 MB, free: 1.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.1088, allocations: 444.9 kB / 370.4 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.1092, allocations: 461.9 kB / 370.9 MB, free: 52 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1093, allocations: 33.7 kB / 370.9 MB, free: 12 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1339/0.2432, allocations: 241.2 kB / 371.1 MB, free: 20.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2433, allocations: 118.8 kB / 371.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2434, allocations: 78.42 kB / 371.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.2435, allocations: 356.6 kB / 371.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.2439, allocations: 154.7 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.2444, allocations: 304.6 kB / 372.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.2451, allocations: 358.1 kB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2451, allocations: 0.9688 kB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009709/0.2461, allocations: 0.5083 MB / 373 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2461, allocations: 37.83 kB / 373 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2461, allocations: 0 / 373 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.2463, allocations: 46.81 kB / 373.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2467, allocations: 87.38 kB / 373.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.2483, allocations: 2.968 MB / 376.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.2487, allocations: 59.23 kB / 376.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2487, allocations: 13.44 kB / 376.2 MB, free: 16.89 MB / 302.1 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.0001528/0.2489, allocations: 168.9 kB / 376.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.2489, allocations: 49.69 kB / 376.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.249, allocations: 59.41 kB / 376.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.249, allocations: 8.219 kB / 376.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2491, allocations: 0.7031 kB / 376.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000831/0.2499, allocations: 0.7527 MB / 377.2 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.2513, allocations: 1.043 MB / 378.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2513, allocations: 0.7031 kB / 378.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.2517, allocations: 98.92 kB / 378.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2517, allocations: 1.375 kB / 378.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2518, allocations: 10.72 kB / 378.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2518, allocations: 1.375 kB / 378.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2518, allocations: 1.375 kB / 378.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2529, allocations: 0.694 MB / 379.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.253, allocations: 163.8 kB / 379.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.2531, allocations: 12.48 kB / 379.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2535, allocations: 32.31 kB / 379.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.2536, allocations: 27.8 kB / 379.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.2536, allocations: 13.73 kB / 379.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.2539, allocations: 326.3 kB / 379.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2539, allocations: 0 / 379.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.2543, allocations: 141.6 kB / 379.8 MB, free: 14.75 MB / 302.1 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.001272/0.2555, allocations: 1.233 MB / 381 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.2566, allocations: 0.6755 MB / 381.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2566, allocations: 2.344 kB / 381.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.257, allocations: 194.5 kB / 381.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.2576, allocations: 144.4 kB / 382 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.2631, allocations: 4.902 MB / 386.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.2633, allocations: 0.8266 MB / 387.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.2636, allocations: 68.91 kB / 387.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2638, allocations: 176 kB / 388 MB, free: 9.656 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2638, allocations: 0 / 388 MB, free: 9.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.573/1.837, allocations: 13.23 MB / 401.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.837, allocations: 238.3 kB / 401.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/4.108, allocations: 0 / 401.4 MB, free: 2.531 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches