Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001651/0.001651, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.89 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 53.37 MB / 426.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002834/0.1074, allocations: 1.654 MB / 428 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.1084, allocations: 0.5378 MB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1084, allocations: 4 kB / 428.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.1085, allocations: 11.86 kB / 428.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.1085, allocations: 31.7 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1087, allocations: 31.97 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1089, allocations: 103.5 kB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.109, allocations: 27.98 kB / 428.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.109, allocations: 31.92 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.1091, allocations: 47.83 kB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1091, allocations: 11.94 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.1092, allocations: 11.94 kB / 428.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.1092, allocations: 16 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.1093, allocations: 43.8 kB / 428.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1095, allocations: 103.6 kB / 429 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1095, allocations: 4 kB / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1095, allocations: 0 / 429 MB, free: 1.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1095, allocations: 0 / 429 MB, free: 1.984 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004963/0.11, allocations: 379.2 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.11, allocations: 12.03 kB / 429.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.1101, allocations: 34.75 kB / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1102, allocations: 16.88 kB / 429.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1103, allocations: 176.2 kB / 429.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1103, allocations: 4.375 kB / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1104, allocations: 16.38 kB / 429.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1105, allocations: 85.78 kB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1106, allocations: 4 kB / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1106, allocations: 0 / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1106, allocations: 0 / 429.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1107, allocations: 55.95 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006875/0.1114, allocations: 408.4 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1115, allocations: 66.5 kB / 430.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.1116, allocations: 36.84 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1116, allocations: 0 / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1116, allocations: 34.56 kB / 430.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1116, allocations: 0 / 430.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002192/0.1118, allocations: 97.69 kB / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1119, allocations: 55.41 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.112, allocations: 106 kB / 430.5 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.112, allocations: 29.7 kB / 430.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.112, allocations: 99.94 kB / 430.7 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1121, allocations: 31.73 kB / 430.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.1121, allocations: 25.72 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1123, allocations: 318.8 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.1123, allocations: 23.98 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.1124, allocations: 46.56 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.1125, allocations: 66.52 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1125, allocations: 0 / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000169/0.1127, allocations: 109.5 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1127, allocations: 4 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1127, allocations: 4.062 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1127, allocations: 7.938 kB / 431.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1128, allocations: 23.98 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1128, allocations: 3.938 kB / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.1129, allocations: 0 / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1129, allocations: 8 kB / 431.3 MB, free: 15.39 MB / 366.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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 9.583e-05/0.113, allocations: 117.8 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.113, allocations: 11.94 kB / 431.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.113, allocations: 16.31 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.113, allocations: 0 / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.113, allocations: 4 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.113, allocations: 0 / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1133, allocations: 189.6 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1133, allocations: 0 / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.1134, allocations: 20 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1134, allocations: 0 / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1134, allocations: 3.938 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1134, allocations: 7.984 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1134, allocations: 0 / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1136, allocations: 199.8 kB / 431.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1137, allocations: 89.05 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1137, allocations: 3.938 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.1138, allocations: 4.281 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.1138, allocations: 0 / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1138, allocations: 8 kB / 432 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.1138, allocations: 87.27 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 64 / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1141, allocations: 27.94 kB / 432.1 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * 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.000514/0.1146, allocations: 0.7241 MB / 432.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1147, allocations: 55.86 kB / 432.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1147, allocations: 192 / 432.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.1148, allocations: 27.98 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1151, allocations: 6.344 kB / 432.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1168, allocations: 1.551 MB / 434.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1171, allocations: 0.6922 MB / 435.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1172, allocations: 4 kB / 435.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.1172, allocations: 31.36 kB / 435.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1172, allocations: 0 / 435.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.1414, allocations: 1.799 MB / 437 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.053, allocations: 7.984 kB / 437 MB, free: 9.57 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.642257886007428]