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.001228/0.001228, allocations: 111.9 kB / 17.06 MB, free: 6.012 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.001259/0.00126, allocations: 195.9 kB / 18 MB, free: 5.094 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2911, allocations: 49.45 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004691/0.2958, allocations: 3.66 MB / 403.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2976, allocations: 0.9696 MB / 404.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.2979, allocations: 7.938 kB / 404.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.2983, allocations: 107.1 kB / 405 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.2986, allocations: 198.3 kB / 405.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.2989, allocations: 127.8 kB / 405.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000742/0.2997, allocations: 0.6847 MB / 406 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3, allocations: 190.2 kB / 406.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3002, allocations: 251.1 kB / 406.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.3006, allocations: 302.7 kB / 406.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.3007, allocations: 60 kB / 406.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3008, allocations: 59.94 kB / 406.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3009, allocations: 123.5 kB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.3013, allocations: 306.6 kB / 407.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.302, allocations: 0.7032 MB / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.302, allocations: 0 / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.302, allocations: 0 / 407.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.302, allocations: 0 / 407.9 MB, free: 1.074 MB / 318.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.001506/0.3036, allocations: 0.9163 MB / 408.9 MB, free: 104 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3036, allocations: 8.031 kB / 408.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.3037, allocations: 79.33 kB / 408.9 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.3039, allocations: 67.98 kB / 409 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.3046, allocations: 442.8 kB / 409.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3047, allocations: 66.91 kB / 409.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.3047, allocations: 32.94 kB / 409.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.3056, allocations: 488.9 kB / 410 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3056, allocations: 3.938 kB / 410 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.3057, allocations: 20 kB / 410 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3057, allocations: 8 kB / 410.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.3065, allocations: 338.4 kB / 410.4 MB, free: 14.47 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.002034/0.3086, allocations: 1.298 MB / 411.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.3093, allocations: 379.5 kB / 412.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.3098, allocations: 184.7 kB / 412.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3098, allocations: 8.578 kB / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.3099, allocations: 42.5 kB / 412.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.3099, allocations: 0 / 412.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001783/0.3116, allocations: 0.7233 MB / 413 MB, free: 11.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000245/0.3119, allocations: 456.9 kB / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.3124, allocations: 457.9 kB / 413.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.3125, allocations: 29.7 kB / 413.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3127, allocations: 244.7 kB / 414.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3128, allocations: 130.8 kB / 414.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.313, allocations: 73.69 kB / 414.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3131, allocations: 358.7 kB / 414.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.3135, allocations: 139.9 kB / 414.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.3141, allocations: 290.5 kB / 415.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.3148, allocations: 337.1 kB / 415.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3149, allocations: 0 / 415.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001025/0.3159, allocations: 490 kB / 415.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.3159, allocations: 33.7 kB / 416 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3159, allocations: 0 / 416 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.3161, allocations: 53.72 kB / 416 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.3165, allocations: 83.88 kB / 416.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.3193, allocations: 2.966 MB / 419.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.3198, allocations: 59.69 kB / 419.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3199, allocations: 15.98 kB / 419.2 MB, free: 5 MB / 334.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.0002529/0.3201, allocations: 173.8 kB / 419.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.3202, allocations: 51.67 kB / 419.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3203, allocations: 48.77 kB / 419.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3203, allocations: 4 kB / 419.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3203, allocations: 3.984 kB / 419.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.3214, allocations: 0.7309 MB / 420.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.3232, allocations: 1.013 MB / 421.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3233, allocations: 0 / 421.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.3237, allocations: 88.11 kB / 421.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.3237, allocations: 3.938 kB / 421.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.3237, allocations: 15.98 kB / 421.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3237, allocations: 0 / 421.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3238, allocations: 80 / 421.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3251, allocations: 0.6571 MB / 421.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3253, allocations: 172.7 kB / 422.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.3253, allocations: 11.94 kB / 422.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.3257, allocations: 27.91 kB / 422.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.3258, allocations: 28.03 kB / 422.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3258, allocations: 8 kB / 422.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003743/0.3262, allocations: 327.1 kB / 422.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3262, allocations: 0 / 422.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.3267, allocations: 139.9 kB / 422.6 MB, free: 1.305 MB / 334.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.001809/0.3285, allocations: 1.204 MB / 423.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3298, allocations: 0.6449 MB / 424.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3298, allocations: 0 / 424.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.3302, allocations: 176.3 kB / 424.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.3309, allocations: 140.4 kB / 424.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.3383, allocations: 4.539 MB / 429.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3388, allocations: 0.8275 MB / 430.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.3391, allocations: 64.36 kB / 430.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.3394, allocations: 175.4 kB / 430.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3394, allocations: 0 / 430.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.3838, allocations: 13.65 MB / 444 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.55, allocations: 9.516 kB / 444.1 MB, free: 11.98 MB / 366.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