Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007477/0.0007477, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009562/0.001704, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006944/0.0006944, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008515/0.001546, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08269/1.127, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.329e-05, allocations: 2.312 kB / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002142/0.002156, allocations: 1.726 MB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.002896, allocations: 0.5539 MB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.002936, allocations: 0 / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.002976, allocations: 15.86 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.003029, allocations: 27.72 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.986e-05/0.003129, allocations: 31.89 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003265, allocations: 107.5 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003369, allocations: 19.98 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.003462, allocations: 67.81 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.003547, allocations: 27.97 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.003567, allocations: 11.94 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.003646, allocations: 12 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.003667, allocations: 12 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.003703, allocations: 27.94 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003847, allocations: 63.77 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.003861, allocations: 0 / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003862, allocations: 0 / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.003877, allocations: 0 / 247.2 MB, free: 11.63 MB / 250.7 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.0004422/0.00432, allocations: 308.4 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.004354, allocations: 8.031 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.004526, allocations: 97.97 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.004618, allocations: 117.6 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.004633, allocations: 8.375 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.004654, allocations: 8.375 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.004759, allocations: 70.2 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.004769, allocations: 192 / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004777, allocations: 384 / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.004785, allocations: 7.938 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.004849, allocations: 31.97 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.005269, allocations: 255.9 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.005352, allocations: 54.44 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.005378, allocations: 20.98 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.005386, allocations: 4 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.005406, allocations: 30.56 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005407, allocations: 0 / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001214/0.005528, allocations: 57.92 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.005562, allocations: 67.33 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.005626, allocations: 110.7 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.005636, allocations: 25.7 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.005683, allocations: 108.1 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.005707, allocations: 31.72 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.005746, allocations: 29.7 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.005836, allocations: 318.8 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.005853, allocations: 8 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.005887, allocations: 34.55 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.296e-05/0.00595, allocations: 50.48 kB / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005953, allocations: 0 / 249 MB, free: 9.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001004/0.006053, allocations: 81.53 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006065, allocations: 4 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006069, allocations: 4 kB / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.006079, allocations: 0 / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.006233, allocations: 31.97 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006238, allocations: 8.062 kB / 249.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.006269, allocations: 7.891 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.006276, allocations: 8.062 kB / 249.2 MB, free: 9.477 MB / 250.7 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.747e-05/0.006333, allocations: 121.7 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.006355, allocations: 4 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.006382, allocations: 12.44 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.00639, allocations: 3.984 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006391, allocations: 0 / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006394, allocations: 0 / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.006509, allocations: 85.81 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00651, allocations: 0 / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.006597, allocations: 23.98 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.006604, allocations: 8 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006605, allocations: 0 / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.006615, allocations: 8 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006616, allocations: 0 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006617, allocations: 0 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006741, allocations: 171.3 kB / 249.6 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.006755, allocations: 7.984 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.006799, allocations: 0 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.006811, allocations: 4 kB / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006813, allocations: 0 / 249.6 MB, free: 8.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.493e-05/0.006828, allocations: 17.09 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006828, allocations: 4.031 kB / 249.6 MB, free: 8.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.007017, allocations: 27.94 kB / 249.7 MB, free: 8.938 MB / 250.7 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 6.592e-05/0.007083, allocations: 72.42 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.007162, allocations: 48.77 kB / 249.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.00717, allocations: 4 kB / 249.8 MB, free: 8.805 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.007192, allocations: 32.72 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.007346, allocations: 16.27 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.009407, allocations: 236.4 kB / 250.1 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.00945, allocations: 63.34 kB / 250.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.009484, allocations: 4.734 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.009541, allocations: 59.36 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009541, allocations: 0 / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of Templates: time 0.002679/0.01222, allocations: 0.7911 MB / 251 MB, free: 7.574 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.509631718508899]