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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 187.5 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 51.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2899, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005003/0.2949, allocations: 3.369 MB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2967, allocations: 0.9207 MB / 426.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.2969, allocations: 7.938 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.2972, allocations: 111.1 kB / 427 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.2976, allocations: 198.3 kB / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.2979, allocations: 131.8 kB / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.2987, allocations: 0.6847 MB / 428 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.299, allocations: 122.8 kB / 428.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.2993, allocations: 267 kB / 428.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.2996, allocations: 258.8 kB / 428.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.2997, allocations: 59.94 kB / 428.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2998, allocations: 60 kB / 428.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3, allocations: 119.6 kB / 428.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.3002, allocations: 258.8 kB / 429.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.301, allocations: 0.7043 MB / 429.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.301, allocations: 0 / 429.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.301, allocations: 0 / 429.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.301, allocations: 0 / 429.8 MB, free: 7.133 MB / 334.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.001543/0.3026, allocations: 0.8324 MB / 430.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3026, allocations: 15.97 kB / 430.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.3027, allocations: 75.33 kB / 430.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3028, allocations: 72.55 kB / 430.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.3036, allocations: 385 kB / 431.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3037, allocations: 110.3 kB / 431.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.3038, allocations: 32.38 kB / 431.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3049, allocations: 0.8617 MB / 432.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3049, allocations: 0 / 432.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.305, allocations: 20 kB / 432.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.305, allocations: 8 kB / 432.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.3058, allocations: 334.4 kB / 432.5 MB, free: 4.176 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.002143/0.308, allocations: 1.025 MB / 433.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.3087, allocations: 283.3 kB / 433.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.3091, allocations: 164.7 kB / 434 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.3091, allocations: 8.594 kB / 434 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3092, allocations: 42.56 kB / 434 MB, free: 2.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.3092, allocations: 0 / 434 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001602/0.3108, allocations: 0.5726 MB / 434.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003225/0.3111, allocations: 445 kB / 435 MB, free: 1.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.3117, allocations: 469.8 kB / 435.5 MB, free: 1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.3118, allocations: 33.7 kB / 435.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.312, allocations: 240.6 kB / 435.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3121, allocations: 126.9 kB / 435.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3122, allocations: 77.69 kB / 436 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3124, allocations: 354.8 kB / 436.3 MB, free: 164 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.3128, allocations: 169.7 kB / 436.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/0.3136, allocations: 0.6738 MB / 437.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.3144, allocations: 345 kB / 437.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3144, allocations: 0 / 437.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001154/0.3155, allocations: 0.5076 MB / 438 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.3156, allocations: 29.7 kB / 438 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3156, allocations: 0 / 438 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.3158, allocations: 53.73 kB / 438.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.3162, allocations: 79.88 kB / 438.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.3191, allocations: 2.762 MB / 440.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.3196, allocations: 47.8 kB / 441 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.3197, allocations: 15.98 kB / 441 MB, free: 11.05 MB / 350.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.0002621/0.3199, allocations: 169.8 kB / 441.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.32, allocations: 51.67 kB / 441.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3201, allocations: 52.77 kB / 441.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3201, allocations: 0 / 441.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3202, allocations: 11.88 kB / 441.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.3213, allocations: 0.7244 MB / 442 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.323, allocations: 0.903 MB / 442.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.323, allocations: 7.922 kB / 442.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.3234, allocations: 83.88 kB / 443 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3234, allocations: 4 kB / 443 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3235, allocations: 8 kB / 443 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3235, allocations: 0 / 443 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3235, allocations: 0 / 443 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.3248, allocations: 0.6562 MB / 443.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.325, allocations: 99.5 kB / 443.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.3251, allocations: 11.98 kB / 443.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.3255, allocations: 31.97 kB / 443.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.3255, allocations: 27.95 kB / 443.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3255, allocations: 8 kB / 443.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.3259, allocations: 327.1 kB / 444.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3259, allocations: 0 / 444.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.3264, allocations: 143.8 kB / 444.3 MB, free: 7.566 MB / 350.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.001735/0.3281, allocations: 1.204 MB / 445.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3294, allocations: 0.6505 MB / 446.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3294, allocations: 4 kB / 446.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.3298, allocations: 163.8 kB / 446.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.3305, allocations: 133.9 kB / 446.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.3377, allocations: 4.641 MB / 451.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3379, allocations: 220.6 kB / 451.3 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002762/0.3382, allocations: 64.36 kB / 451.3 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.3385, allocations: 175.4 kB / 451.5 MB, free: 96 kB / 350.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3385, allocations: 3.938 kB / 451.5 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/0.3964, allocations: 15.41 MB / 466.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.78, allocations: 3.656 kB / 466.9 MB, free: 1.035 MB / 366.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/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) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.285071288235486]