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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 119.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.575/1.575, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 68.52 kB / 342.7 MB, free: 9.578 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 49.11 MB / 391.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003001/0.1104, allocations: 1.635 MB / 393.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.1113, allocations: 0.5189 MB / 394 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1113, allocations: 4 kB / 394 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.1114, allocations: 11.92 kB / 394 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.1115, allocations: 31.7 kB / 394 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1117, allocations: 23.97 kB / 394.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1118, allocations: 107.4 kB / 394.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.112, allocations: 31.92 kB / 394.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.112, allocations: 31.94 kB / 394.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.1121, allocations: 39.83 kB / 394.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1121, allocations: 8 kB / 394.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.1122, allocations: 16 kB / 394.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.1122, allocations: 23.92 kB / 394.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1123, allocations: 43.8 kB / 394.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1125, allocations: 95.67 kB / 394.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1125, allocations: 0 / 394.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1125, allocations: 0 / 394.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1125, allocations: 0 / 394.5 MB, free: 5.672 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.0005509/0.113, allocations: 383.2 kB / 394.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1131, allocations: 12.02 kB / 394.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1132, allocations: 16.89 kB / 394.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1134, allocations: 176.2 kB / 395 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1134, allocations: 4.375 kB / 395 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.1134, allocations: 12.38 kB / 395 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1136, allocations: 85.97 kB / 395.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1136, allocations: 0 / 395.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1136, allocations: 4 kB / 395.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1136, allocations: 0 / 395.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1137, allocations: 63.81 kB / 395.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.1145, allocations: 396.5 kB / 395.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1146, allocations: 70.56 kB / 395.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.1147, allocations: 32.84 kB / 395.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1147, allocations: 3.938 kB / 395.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1147, allocations: 30.56 kB / 395.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1147, allocations: 4 kB / 395.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000233/0.115, allocations: 101.8 kB / 395.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.115, allocations: 51.41 kB / 395.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.1151, allocations: 109.8 kB / 396 MB, free: 3.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1151, allocations: 25.7 kB / 396 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.1152, allocations: 99.98 kB / 396.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1152, allocations: 31.73 kB / 396.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1153, allocations: 29.7 kB / 396.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1154, allocations: 314.8 kB / 396.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.1154, allocations: 27.92 kB / 396.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.1155, allocations: 42.56 kB / 396.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1156, allocations: 74.45 kB / 396.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1156, allocations: 0 / 396.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001569/0.1158, allocations: 105.6 kB / 396.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1158, allocations: 4 kB / 396.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1158, allocations: 0 / 396.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1158, allocations: 7.922 kB / 396.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1159, allocations: 20 kB / 396.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1159, allocations: 7.938 kB / 396.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.116, allocations: 12.14 kB / 396.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.116, allocations: 11.94 kB / 396.8 MB, free: 3.109 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 0.0001054/0.1161, allocations: 125.8 kB / 396.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1161, allocations: 4 kB / 396.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.1162, allocations: 8.375 kB / 396.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1162, allocations: 3.938 kB / 396.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1162, allocations: 0 / 396.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1162, allocations: 4 kB / 396.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1164, allocations: 193.6 kB / 397.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1164, allocations: 0 / 397.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1165, allocations: 16 kB / 397.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1165, allocations: 0 / 397.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1165, allocations: 3.984 kB / 397.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1165, allocations: 7.938 kB / 397.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1165, allocations: 7.938 kB / 397.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1167, allocations: 183.6 kB / 397.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.1168, allocations: 85.05 kB / 397.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1168, allocations: 0 / 397.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.1169, allocations: 3.938 kB / 397.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1169, allocations: 11.92 kB / 397.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1169, allocations: 4.062 kB / 397.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.1169, allocations: 91.27 kB / 397.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1169, allocations: 0 / 397.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1172, allocations: 23.94 kB / 397.5 MB, free: 2.254 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.0001203/0.1173, allocations: 103.2 kB / 397.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1175, allocations: 48.38 kB / 397.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1175, allocations: 0 / 397.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.1175, allocations: 27.92 kB / 397.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1178, allocations: 12.27 kB / 397.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.1184, allocations: 326.1 kB / 398 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1188, allocations: 0.6924 MB / 398.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1188, allocations: 11.98 kB / 398.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.1188, allocations: 7.438 kB / 398.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1188, allocations: 7.938 kB / 398.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of Templates: time 0.003215/0.1221, allocations: 0.6451 MB / 399.4 MB, free: 332 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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: 4.553906559944153]