Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 53.32 MB / 426.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005086/0.1099, allocations: 3.709 MB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1118, allocations: 1.016 MB / 431 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.112, allocations: 7.938 kB / 431 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2075/0.3195, allocations: 99.67 kB / 431.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.3202, allocations: 200.2 kB / 431.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3205, allocations: 134.3 kB / 431.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.3212, allocations: 0.6763 MB / 432.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.3214, allocations: 136.1 kB / 432.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3216, allocations: 259 kB / 432.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.3219, allocations: 301 kB / 432.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.698e-05/0.322, allocations: 58.5 kB / 432.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.3221, allocations: 57.62 kB / 432.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.3221, allocations: 127.1 kB / 433 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.3224, allocations: 315.2 kB / 433.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.3229, allocations: 0.6948 MB / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3229, allocations: 1.469 kB / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3229, allocations: 0 / 434 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3229, allocations: 0 / 434 MB, free: 7.262 MB / 350.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.001297/0.3242, allocations: 0.907 MB / 435 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3243, allocations: 13.75 kB / 435 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.412e-05/0.3244, allocations: 77.52 kB / 435 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3245, allocations: 67.03 kB / 435.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.3251, allocations: 442.8 kB / 435.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.3252, allocations: 57.45 kB / 435.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.3253, allocations: 34.31 kB / 435.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.326, allocations: 499.2 kB / 436.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.326, allocations: 3.062 kB / 436.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.3261, allocations: 18.75 kB / 436.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3261, allocations: 8.031 kB / 436.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.3269, allocations: 337.5 kB / 436.5 MB, free: 6.094 MB / 350.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.001791/0.3287, allocations: 1.3 MB / 437.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.3293, allocations: 358.4 kB / 438.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.3297, allocations: 167 kB / 438.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.3297, allocations: 8.266 kB / 438.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3297, allocations: 39.3 kB / 438.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.3297, allocations: 0 / 438.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001496/0.3312, allocations: 0.7266 MB / 439.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.3313, allocations: 445.1 kB / 439.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.3318, allocations: 456.5 kB / 439.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3318, allocations: 34.48 kB / 440 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3319, allocations: 249.8 kB / 440.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.332, allocations: 130.7 kB / 440.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3321, allocations: 79.41 kB / 440.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.3322, allocations: 360.3 kB / 440.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.3326, allocations: 142 kB / 440.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.333, allocations: 281.1 kB / 441.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006931/0.3337, allocations: 338.8 kB / 441.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3337, allocations: 1.125 kB / 441.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009099/0.3346, allocations: 491 kB / 442 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3346, allocations: 30.7 kB / 442 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3347, allocations: 1.5 kB / 442 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3348, allocations: 52.48 kB / 442.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.3352, allocations: 79.66 kB / 442.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.3371, allocations: 2.975 MB / 445.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.3375, allocations: 53.73 kB / 445.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3376, allocations: 8.234 kB / 445.2 MB, free: 15.62 MB / 366.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.0002098/0.3378, allocations: 171.4 kB / 445.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.3379, allocations: 55.3 kB / 445.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.338, allocations: 54.33 kB / 445.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.338, allocations: 7.969 kB / 445.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.338, allocations: 5.062 kB / 445.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.339, allocations: 0.7301 MB / 446.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3407, allocations: 1.012 MB / 447.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3407, allocations: 1.281 kB / 447.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.3412, allocations: 92.33 kB / 447.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3412, allocations: 2.281 kB / 447.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3412, allocations: 8.188 kB / 447.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3412, allocations: 1.641 kB / 447.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3412, allocations: 4 kB / 447.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3425, allocations: 0.6481 MB / 448 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.3427, allocations: 171.8 kB / 448.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.3428, allocations: 12.67 kB / 448.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.3431, allocations: 33.45 kB / 448.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.3432, allocations: 23.75 kB / 448.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3432, allocations: 10.59 kB / 448.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003745/0.3436, allocations: 322 kB / 448.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 0 / 448.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.344, allocations: 141 kB / 448.7 MB, free: 13.47 MB / 366.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.001637/0.3457, allocations: 1.206 MB / 449.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3469, allocations: 0.6161 MB / 450.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3469, allocations: 2.125 kB / 450.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3473, allocations: 163 kB / 450.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.3479, allocations: 146.7 kB / 450.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.3548, allocations: 4.528 MB / 455.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.3553, allocations: 0.83 MB / 456.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.3556, allocations: 65.84 kB / 456.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.3558, allocations: 172.8 kB / 456.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3558, allocations: 3.938 kB / 456.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04782/0.4037, allocations: 13.75 MB / 470.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.66, allocations: 3.859 kB / 470.2 MB, free: 3.133 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.152553011008422]