Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001815/0.001815, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002/0.002, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 56.39 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.284, allocations: 49.17 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005714/0.2897, allocations: 5.062 MB / 401.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.2925, allocations: 1.355 MB / 402.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.293, allocations: 15.88 kB / 402.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.2935, allocations: 160 kB / 402.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.2943, allocations: 332.6 kB / 403.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.2948, allocations: 234.3 kB / 403.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.2964, allocations: 1.173 MB / 404.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.2968, allocations: 220.7 kB / 404.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006741/0.2974, allocations: 464 kB / 405.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.2981, allocations: 0.5068 MB / 405.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.2983, allocations: 106.7 kB / 405.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.2985, allocations: 105.9 kB / 406 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.2987, allocations: 220.4 kB / 406.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.2993, allocations: 0.5207 MB / 406.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3009, allocations: 1.212 MB / 408 MB, free: 1.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3009, allocations: 3.938 kB / 408 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3009, allocations: 1.375 kB / 408 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.301, allocations: 0 / 408 MB, free: 1.754 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002613/0.3036, allocations: 1.295 MB / 409.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3036, allocations: 14.84 kB / 409.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.3038, allocations: 119 kB / 409.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.304, allocations: 112.6 kB / 409.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.3054, allocations: 0.5366 MB / 410.1 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.3056, allocations: 302.2 kB / 410.4 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3057, allocations: 63.91 kB / 410.4 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.3075, allocations: 0.8633 MB / 411.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3075, allocations: 0 / 411.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-05/0.3076, allocations: 27.69 kB / 411.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.3076, allocations: 18.44 kB / 411.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.3092, allocations: 0.6036 MB / 411.9 MB, free: 15.15 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.004228/0.3134, allocations: 2.052 MB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.3148, allocations: 0.5819 MB / 414.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/0.3156, allocations: 371.3 kB / 414.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-05/0.3157, allocations: 13.14 kB / 415 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.3157, allocations: 45.72 kB / 415 MB, free: 13.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.026e-06/0.3158, allocations: 0.875 kB / 415 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005175/0.3209, allocations: 1.487 MB / 416.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005145/0.3214, allocations: 0.8308 MB / 417.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009616/0.3224, allocations: 0.6336 MB / 418 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3225, allocations: 44.86 kB / 418 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.3229, allocations: 349.7 kB / 418.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.3231, allocations: 267.1 kB / 418.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.3234, allocations: 145.5 kB / 418.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002431/0.3237, allocations: 383.7 kB / 419.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.3243, allocations: 275.3 kB / 419.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.3254, allocations: 0.5553 MB / 419.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.3268, allocations: 0.6775 MB / 420.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3268, allocations: 0 / 420.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002794/0.3296, allocations: 1.094 MB / 421.7 MB, free: 8.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.3297, allocations: 84.05 kB / 421.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3297, allocations: 3.984 kB / 421.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.3304, allocations: 236 kB / 422 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.331, allocations: 137 kB / 422.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008661/0.3397, allocations: 6.522 MB / 428.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.341, allocations: 99.73 kB / 428.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.341, allocations: 27.94 kB / 428.8 MB, free: 1.605 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005316/0.3416, allocations: 229.7 kB / 429 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.3418, allocations: 91.42 kB / 429.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.342, allocations: 91.34 kB / 429.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.342, allocations: 8 kB / 429.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.342, allocations: 0 / 429.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002671/0.3447, allocations: 1.233 MB / 430.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.3488, allocations: 1.892 MB / 432.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3488, allocations: 0 / 432.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/0.3495, allocations: 135.8 kB / 432.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.3501, allocations: 206.5 kB / 432.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.3501, allocations: 15.94 kB / 432.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007/0.3571, allocations: 5.044 MB / 437.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3571, allocations: 0 / 437.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.3607, allocations: 1.392 MB / 439.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.3613, allocations: 163.2 kB / 439.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3614, allocations: 20 kB / 439.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.3621, allocations: 55.94 kB / 439.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.3623, allocations: 64.53 kB / 439.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.3623, allocations: 16 kB / 439.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006346/0.3629, allocations: 463 kB / 439.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 439.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009072/0.3639, allocations: 283.8 kB / 440.2 MB, free: 5.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003694/0.3675, allocations: 1.967 MB / 442.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.37, allocations: 1.317 MB / 443.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.37, allocations: 8.125 kB / 443.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.3714, allocations: 0.7455 MB / 444.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3726, allocations: 227 kB / 444.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.3868, allocations: 7.542 MB / 452 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.3875, allocations: 0.944 MB / 452.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005928/0.3881, allocations: 98.44 kB / 453 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.3886, allocations: 303.3 kB / 453.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.3886, allocations: 0 / 453.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07801/0.4666, allocations: 26.61 MB / 479.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.81, allocations: 11.94 kB / 479.9 MB, free: 13.44 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv. Warning: Get data of variable pipe3.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.21277922700392]