Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.00181/0.00181, allocations: 108.2 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.002355/0.002355, allocations: 216.7 kB / 24.49 MB, free: 4.094 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.576/1.576, 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.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",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.001801/0.001801, allocations: 55.92 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 49.16 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002366/0.2523, allocations: 1.63 MB / 398 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.253, allocations: 0.5248 MB / 398.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.2531, allocations: 1.594 kB / 398.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.925e-05/0.2531, allocations: 14.17 kB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.2532, allocations: 27.56 kB / 398.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2534, allocations: 32.78 kB / 398.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2535, allocations: 103.5 kB / 398.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2536, allocations: 30.52 kB / 398.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.2537, allocations: 36.72 kB / 398.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.2538, allocations: 40.53 kB / 398.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.2538, allocations: 7.844 kB / 398.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.2539, allocations: 18.81 kB / 398.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.2539, allocations: 18.25 kB / 398.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.2539, allocations: 43.23 kB / 398.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2541, allocations: 105.1 kB / 399 MB, free: 7.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2541, allocations: 0 / 399 MB, free: 7.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2541, allocations: 0 / 399 MB, free: 7.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2541, allocations: 5.156 kB / 399 MB, free: 7.273 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003655/0.2544, allocations: 310.7 kB / 399.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2545, allocations: 14.58 kB / 399.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.2545, allocations: 40.39 kB / 399.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2546, allocations: 11.64 kB / 399.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.2547, allocations: 110.2 kB / 399.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2547, allocations: 11.94 kB / 399.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2547, allocations: 7.859 kB / 399.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2549, allocations: 89.62 kB / 399.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2549, allocations: 5.422 kB / 399.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2549, allocations: 4 kB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.2549, allocations: 3.125 kB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.255, allocations: 55.41 kB / 399.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.2556, allocations: 361.7 kB / 400 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2557, allocations: 69.48 kB / 400 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.2557, allocations: 33.78 kB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2557, allocations: 2.359 kB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.2558, allocations: 35.59 kB / 400.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2558, allocations: 0 / 400.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001919/0.2559, allocations: 93.89 kB / 400.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.256, allocations: 56.47 kB / 400.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.256, allocations: 105.2 kB / 400.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.256, allocations: 26.89 kB / 400.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.2561, allocations: 101.3 kB / 400.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2561, allocations: 30.84 kB / 400.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.2561, allocations: 31.09 kB / 400.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.2562, allocations: 318 kB / 400.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.2562, allocations: 26.69 kB / 400.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.2562, allocations: 45.11 kB / 400.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.2563, allocations: 67.11 kB / 401 MB, free: 5.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2563, allocations: 4 kB / 401 MB, free: 5.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001324/0.2565, allocations: 107.4 kB / 401.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2565, allocations: 9.156 kB / 401.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2565, allocations: 4.719 kB / 401.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2565, allocations: 5.375 kB / 401.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2566, allocations: 27.3 kB / 401.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2566, allocations: 5.969 kB / 401.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.2566, allocations: 6.234 kB / 401.1 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2567, allocations: 2.406 kB / 401.1 MB, free: 5.398 MB / 318.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 5.179e-05/0.2567, allocations: 119.2 kB / 401.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.2567, allocations: 3.188 kB / 401.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2568, allocations: 14.17 kB / 401.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2568, allocations: 8.641 kB / 401.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2568, allocations: 1.469 kB / 401.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2568, allocations: 0.6562 kB / 401.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2569, allocations: 165.4 kB / 401.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2569, allocations: 0 / 401.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.257, allocations: 17.83 kB / 401.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.257, allocations: 1.25 kB / 401.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.257, allocations: 7.938 kB / 401.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.257, allocations: 1.594 kB / 401.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.257, allocations: 1.406 kB / 401.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2572, allocations: 186 kB / 401.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.2572, allocations: 11.34 kB / 401.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2572, allocations: 8.781 kB / 401.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.2573, allocations: 1.031 kB / 401.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.2573, allocations: 4.359 kB / 401.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2573, allocations: 2.875 kB / 401.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.335e-05/0.2573, allocations: 84.62 kB / 401.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2573, allocations: 1.438 kB / 401.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.2575, allocations: 22.12 kB / 401.8 MB, free: 4.824 MB / 318.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.0002622/0.2578, allocations: 0.7211 MB / 402.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2579, allocations: 57.44 kB / 402.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2579, allocations: 0 / 402.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.258, allocations: 27.64 kB / 402.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2582, allocations: 10.66 kB / 402.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.2594, allocations: 1.557 MB / 404.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2596, allocations: 0.6924 MB / 404.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.2596, allocations: 8.672 kB / 404.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.2596, allocations: 25 kB / 404.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2596, allocations: 0 / 404.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2894, allocations: 1.964 MB / 406.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.92, allocations: 2.188 kB / 406.9 MB, free: 1.348 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 13.553685737002525]