Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008077, allocations: 95.23 kB / 16.65 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 175.9 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 8 kB / 301.5 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08267, allocations: 50.42 MB / 351.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003286/0.086, allocations: 3.318 MB / 355.3 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.08731, allocations: 0.9074 MB / 356.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.08746, allocations: 7.938 kB / 356.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.08771, allocations: 95.36 kB / 356.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.08804, allocations: 166.7 kB / 356.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.08825, allocations: 107.9 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.0888, allocations: 0.6496 MB / 357.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.08904, allocations: 171 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.08926, allocations: 234.9 kB / 357.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.08952, allocations: 270.8 kB / 357.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.08959, allocations: 36 kB / 357.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.08967, allocations: 36 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.08976, allocations: 107.5 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.09, allocations: 304.3 kB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.09049, allocations: 0.6576 MB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0905, allocations: 0 / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.09051, allocations: 4 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.09052, allocations: 3.938 kB / 359 MB, free: 12.31 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.001166/0.09169, allocations: 0.8078 MB / 359.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.09173, allocations: 8.031 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.09184, allocations: 75.38 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.09194, allocations: 68.19 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.09251, allocations: 442.4 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.09271, allocations: 86.89 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.09277, allocations: 36.38 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.09358, allocations: 0.5125 MB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.0936, allocations: 0 / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.09365, allocations: 12 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.09366, allocations: 8 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.09454, allocations: 390.4 kB / 361.4 MB, free: 9.719 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.001707/0.09625, allocations: 1.306 MB / 362.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.09695, allocations: 415.2 kB / 363.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.0974, allocations: 204.8 kB / 363.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.09744, allocations: 7.984 kB / 363.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.09747, allocations: 38.56 kB / 363.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.09748, allocations: 0 / 363.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001607/0.09909, allocations: 0.8056 MB / 364.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.09926, allocations: 441 kB / 364.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.09971, allocations: 465.9 kB / 365.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.09976, allocations: 33.7 kB / 365.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.09991, allocations: 236.4 kB / 365.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.1, allocations: 122.2 kB / 365.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1001, allocations: 33.7 kB / 365.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1002, allocations: 358.8 kB / 365.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.1006, allocations: 167.8 kB / 366 MB, free: 4.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.1011, allocations: 302.8 kB / 366.3 MB, free: 4.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.1019, allocations: 389.1 kB / 366.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1019, allocations: 0 / 366.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001007/0.1029, allocations: 0.529 MB / 367.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.103, allocations: 29.7 kB / 367.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.103, allocations: 0 / 367.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.1031, allocations: 53.69 kB / 367.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.1035, allocations: 99.88 kB / 367.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1055, allocations: 2.736 MB / 370.1 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.1059, allocations: 71.69 kB / 370.2 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1059, allocations: 12 kB / 370.2 MB, free: 256 kB / 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.0001823/0.1061, allocations: 169.7 kB / 370.4 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.1062, allocations: 47.44 kB / 370.4 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1329/0.2391, allocations: 57.25 kB / 370.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2391, allocations: 4.594 kB / 370.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2391, allocations: 1 kB / 370.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001015/0.2402, allocations: 0.7692 MB / 371.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.2418, allocations: 1.064 MB / 372.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2418, allocations: 3.719 kB / 372.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.2423, allocations: 101.1 kB / 372.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2423, allocations: 0.5312 kB / 372.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2423, allocations: 7.266 kB / 372.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2423, allocations: 1.312 kB / 372.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2423, allocations: 8.906 kB / 372.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2436, allocations: 0.7121 MB / 373.1 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2438, allocations: 172.5 kB / 373.3 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.2438, allocations: 7.969 kB / 373.3 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.2442, allocations: 46.42 kB / 373.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2443, allocations: 23.64 kB / 373.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2443, allocations: 15.16 kB / 373.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.2446, allocations: 326.4 kB / 373.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2446, allocations: 0 / 373.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.245, allocations: 138.6 kB / 373.8 MB, free: 22.95 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.001506/0.2466, allocations: 1.265 MB / 375.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2477, allocations: 0.6885 MB / 375.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2477, allocations: 0 / 375.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.2482, allocations: 202.7 kB / 376 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.2489, allocations: 138.5 kB / 376.1 MB, free: 21.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.2547, allocations: 5.018 MB / 381.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2549, allocations: 0.8317 MB / 382 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.2552, allocations: 67.97 kB / 382 MB, free: 18.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.2554, allocations: 170.4 kB / 382.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2554, allocations: 1.094 kB / 382.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.2779, allocations: 12.6 MB / 394.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.2781, allocations: 225.8 kB / 395 MB, free: 12.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.282, allocations: 4.062 kB / 395 MB, free: 12.64 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches