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.001368/0.001368, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001531/0.001531, allocations: 217.1 kB / 24.47 MB, free: 3.777 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.423/1.423, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001924/0.001924, allocations: 58.95 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2546, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002678/0.2572, allocations: 1.584 MB / 397.9 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.2581, allocations: 0.494 MB / 398.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.2581, allocations: 2.219 kB / 398.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.2582, allocations: 12.58 kB / 398.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.775e-05/0.2583, allocations: 27.19 kB / 398.4 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2585, allocations: 33.23 kB / 398.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.2586, allocations: 96.67 kB / 398.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2588, allocations: 36.64 kB / 398.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.2588, allocations: 32.73 kB / 398.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.2589, allocations: 32.98 kB / 398.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2589, allocations: 7.781 kB / 398.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.259, allocations: 11.09 kB / 398.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.259, allocations: 25.72 kB / 398.7 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.2591, allocations: 36.12 kB / 398.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.2592, allocations: 108 kB / 398.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2592, allocations: 0 / 398.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2592, allocations: 0 / 398.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2593, allocations: 4 kB / 398.9 MB, free: 7.258 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.0004414/0.2597, allocations: 308.4 kB / 399.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2597, allocations: 12.3 kB / 399.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.2598, allocations: 40.45 kB / 399.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2599, allocations: 15.72 kB / 399.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.26, allocations: 111.3 kB / 399.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.26, allocations: 4.438 kB / 399.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.26, allocations: 11.09 kB / 399.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2602, allocations: 89.64 kB / 399.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2602, allocations: 1.25 kB / 399.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2602, allocations: 8 kB / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2603, allocations: 3.469 kB / 399.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2604, allocations: 50.03 kB / 399.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.261, allocations: 351.2 kB / 399.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2611, allocations: 70.28 kB / 399.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.2612, allocations: 29.33 kB / 399.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2612, allocations: 1.156 kB / 399.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2612, allocations: 37.62 kB / 400 MB, free: 6.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2612, allocations: 4 kB / 400 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.2615, allocations: 93.89 kB / 400.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2615, allocations: 52.56 kB / 400.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.2616, allocations: 113.2 kB / 400.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.2616, allocations: 26.92 kB / 400.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.2616, allocations: 102.2 kB / 400.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2616, allocations: 29.73 kB / 400.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2617, allocations: 28.69 kB / 400.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.2617, allocations: 313.6 kB / 400.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.2618, allocations: 23.42 kB / 400.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.2618, allocations: 49.92 kB / 400.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.2619, allocations: 70.97 kB / 400.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2619, allocations: 0 / 400.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.2621, allocations: 106 kB / 401 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2621, allocations: 6.156 kB / 401 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2621, allocations: 0.9062 kB / 401 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2621, allocations: 5 kB / 401 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2623, allocations: 27.53 kB / 401 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2623, allocations: 5.25 kB / 401 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.2623, allocations: 10.08 kB / 401 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2623, allocations: 3.875 kB / 401 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 6.106e-05/0.2624, allocations: 118.1 kB / 401.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.2624, allocations: 3.172 kB / 401.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.2624, allocations: 14.67 kB / 401.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2624, allocations: 1.594 kB / 401.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2624, allocations: 0.7031 kB / 401.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2625, allocations: 0 / 401.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.2626, allocations: 157.1 kB / 401.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2626, allocations: 8.734 kB / 401.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2627, allocations: 22.91 kB / 401.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2627, allocations: 0 / 401.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2627, allocations: 8.859 kB / 401.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2627, allocations: 2.125 kB / 401.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2627, allocations: 0 / 401.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2629, allocations: 192.1 kB / 401.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.2629, allocations: 10.98 kB / 401.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.263, allocations: 5.594 kB / 401.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.263, allocations: 0 / 401.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.263, allocations: 8.516 kB / 401.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.263, allocations: 7.188 kB / 401.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.2631, allocations: 85.45 kB / 401.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2631, allocations: 0 / 401.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2633, allocations: 27.05 kB / 401.7 MB, free: 4.812 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.0003209/0.2636, allocations: 0.7115 MB / 402.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2638, allocations: 64.94 kB / 402.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2638, allocations: 3.938 kB / 402.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.266e-05/0.2638, allocations: 24.86 kB / 402.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2641, allocations: 11.16 kB / 402.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2653, allocations: 1.545 MB / 404 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.2653, allocations: 79.14 kB / 404.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.2654, allocations: 14.11 kB / 404.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2654, allocations: 23.48 kB / 404.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2654, allocations: 5.156 kB / 404.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.2943, allocations: 2.336 MB / 406.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.78, allocations: 1.344 kB / 406.5 MB, free: 1.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.038387663662434]