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.004699/0.004699, allocations: 111.1 kB / 21.97 MB, free: 5.25 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.001327/0.001327, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.304/1.304, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",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.001628/0.001628, allocations: 51.92 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 49.16 MB / 397.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002469/0.2525, allocations: 1.638 MB / 398.8 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.2533, allocations: 0.532 MB / 399.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.2533, allocations: 1.062 kB / 399.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/0.2534, allocations: 9.109 kB / 399.3 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.2534, allocations: 32.05 kB / 399.3 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2537, allocations: 29.23 kB / 399.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.2538, allocations: 100.3 kB / 399.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2539, allocations: 33.62 kB / 399.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.254, allocations: 32.25 kB / 399.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.2541, allocations: 40.08 kB / 399.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.2541, allocations: 8.062 kB / 399.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.2541, allocations: 11.7 kB / 399.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2542, allocations: 25.95 kB / 399.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.2542, allocations: 43.34 kB / 399.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2544, allocations: 102.1 kB / 399.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2544, allocations: 0 / 399.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2544, allocations: 0 / 399.7 MB, free: 7.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2544, allocations: 4 kB / 399.7 MB, free: 7.262 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.0003945/0.2548, allocations: 307.3 kB / 400 MB, free: 6.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2548, allocations: 13.89 kB / 400.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.2549, allocations: 6.781 kB / 400.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.649e-05/0.2549, allocations: 39.44 kB / 400.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.255, allocations: 12.2 kB / 400.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.2551, allocations: 114.6 kB / 400.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2551, allocations: 4.031 kB / 400.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.2551, allocations: 14.91 kB / 400.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2553, allocations: 90.69 kB / 400.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2553, allocations: 0 / 400.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2553, allocations: 1.312 kB / 400.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2553, allocations: 2.688 kB / 400.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2554, allocations: 55.92 kB / 400.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.256, allocations: 369.5 kB / 400.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.2561, allocations: 65.16 kB / 400.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.2561, allocations: 29.61 kB / 400.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2561, allocations: 5.094 kB / 400.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2562, allocations: 32.67 kB / 400.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2562, allocations: 1.062 kB / 400.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001794/0.2563, allocations: 96.75 kB / 401 MB, free: 6.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2564, allocations: 56.47 kB / 401 MB, free: 6.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.2564, allocations: 113.6 kB / 401.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2564, allocations: 25.7 kB / 401.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.2565, allocations: 106.4 kB / 401.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.2565, allocations: 30.47 kB / 401.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2565, allocations: 27.03 kB / 401.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.2566, allocations: 315.5 kB / 401.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.2566, allocations: 26.66 kB / 401.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.2566, allocations: 41.3 kB / 401.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.2567, allocations: 73.98 kB / 401.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2567, allocations: 1.094 kB / 401.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001255/0.2568, allocations: 105 kB / 401.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2569, allocations: 10.75 kB / 401.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2569, allocations: 5.188 kB / 401.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2569, allocations: 0.8125 kB / 401.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.257, allocations: 27.28 kB / 401.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.257, allocations: 0.9062 kB / 401.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.257, allocations: 10.08 kB / 401.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2571, allocations: 3.406 kB / 401.9 MB, free: 5.387 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 4.756e-05/0.2571, allocations: 115 kB / 402 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.2571, allocations: 3.188 kB / 402.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2571, allocations: 22.03 kB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2572, allocations: 1.188 kB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2572, allocations: 0.7969 kB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2572, allocations: 0.9062 kB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2573, allocations: 165 kB / 402.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2573, allocations: 0.7031 kB / 402.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.2574, allocations: 22.27 kB / 402.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2574, allocations: 0 / 402.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2574, allocations: 5.062 kB / 402.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2574, allocations: 2.078 kB / 402.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2574, allocations: 4 kB / 402.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.2576, allocations: 191.2 kB / 402.5 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2576, allocations: 6.766 kB / 402.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2576, allocations: 5.125 kB / 402.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.2577, allocations: 1.281 kB / 402.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.2577, allocations: 12.19 kB / 402.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2577, allocations: 2.188 kB / 402.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.589e-05/0.2577, allocations: 85.55 kB / 402.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2577, allocations: 4 kB / 402.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000231/0.2579, allocations: 26.33 kB / 402.6 MB, free: 4.801 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.0002578/0.2582, allocations: 0.7218 MB / 403.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2583, allocations: 53.95 kB / 403.4 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2583, allocations: 8.125 kB / 403.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.2584, allocations: 32.3 kB / 403.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2586, allocations: 2.938 kB / 403.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2599, allocations: 1.548 MB / 405 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.26, allocations: 0.6915 MB / 405.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2601, allocations: 8.5 kB / 405.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.2601, allocations: 22.52 kB / 405.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2601, allocations: 3.938 kB / 405.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2838, allocations: 2.004 MB / 407.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.62, allocations: 6.672 kB / 407.7 MB, free: 1.293 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: 12.793933148030192]