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.001827/0.001827, allocations: 71.75 kB / 21.24 MB, free: 400 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.001819/0.001819, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.416/1.416, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00156/0.00156, allocations: 47.81 kB / 325.5 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08997, allocations: 53.34 MB / 378.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002882/0.09286, allocations: 1.599 MB / 380.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.09377, allocations: 0.5182 MB / 381 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.09382, allocations: 0 / 381 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.09387, allocations: 11.92 kB / 381 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.09395, allocations: 27.72 kB / 381 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.09417, allocations: 31.95 kB / 381.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.09433, allocations: 103.5 kB / 381.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.09447, allocations: 27.91 kB / 381.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.09453, allocations: 39.92 kB / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.09463, allocations: 31.84 kB / 381.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.09465, allocations: 11.94 kB / 381.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.09473, allocations: 12 kB / 381.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.09476, allocations: 15.98 kB / 381.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.09482, allocations: 39.86 kB / 381.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.095, allocations: 95.62 kB / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.09501, allocations: 0 / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09501, allocations: 0 / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09501, allocations: 4 kB / 381.4 MB, free: 13.27 MB / 350.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.0004808/0.09549, allocations: 310 kB / 381.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.09553, allocations: 8.031 kB / 381.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.09565, allocations: 16.88 kB / 381.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.09578, allocations: 122.4 kB / 381.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.09579, allocations: 8.375 kB / 381.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.09582, allocations: 8.375 kB / 381.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.09599, allocations: 81.98 kB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.09601, allocations: 4 kB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.09603, allocations: 4 kB / 382 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.09604, allocations: 4 kB / 382 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.09615, allocations: 55.91 kB / 382.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.09677, allocations: 324.2 kB / 382.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.09691, allocations: 74.48 kB / 382.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.09697, allocations: 32.84 kB / 382.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.09698, allocations: 0 / 382.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.097, allocations: 30.56 kB / 382.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.097, allocations: 4 kB / 382.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002016/0.09721, allocations: 85.62 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.09724, allocations: 55.34 kB / 382.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.09734, allocations: 114 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.09736, allocations: 29.7 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.09742, allocations: 99.97 kB / 382.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.09745, allocations: 31.73 kB / 382.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.09749, allocations: 25.72 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.09763, allocations: 318.8 kB / 383.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.09767, allocations: 20 kB / 383.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.09774, allocations: 42.56 kB / 383.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.09785, allocations: 82.64 kB / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09785, allocations: 0 / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001519/0.098, allocations: 101.5 kB / 383.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.09801, allocations: 8 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.09802, allocations: 3.938 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.09803, allocations: 0 / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.09815, allocations: 23.98 kB / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.09816, allocations: 8.25 kB / 383.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.0982, allocations: 15.95 kB / 383.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-06/0.09821, allocations: 4 kB / 383.6 MB, free: 10.96 MB / 350.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 8.239e-05/0.09829, allocations: 117.8 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.09832, allocations: 4 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.09835, allocations: 8.438 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.09835, allocations: 0 / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.09836, allocations: 7.938 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.09836, allocations: 3.984 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.09852, allocations: 125.3 kB / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.09852, allocations: 0 / 383.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.09862, allocations: 23.98 kB / 383.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.09862, allocations: 0 / 383.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.09864, allocations: 7.938 kB / 383.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.09864, allocations: 256 / 383.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09864, allocations: 0 / 383.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.09885, allocations: 207.4 kB / 384.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.09886, allocations: 7.984 kB / 384.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.09888, allocations: 0 / 384.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.09893, allocations: 0 / 384.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.09896, allocations: 15.92 kB / 384.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.09896, allocations: 3.984 kB / 384.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.09901, allocations: 83.34 kB / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09901, allocations: 0 / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.09925, allocations: 27.94 kB / 384.2 MB, free: 10.27 MB / 350.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 9.163e-05/0.09935, allocations: 99.25 kB / 384.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.09948, allocations: 55.92 kB / 384.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.09948, allocations: 0 / 384.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.09952, allocations: 23.92 kB / 384.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.09979, allocations: 8 kB / 384.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.1004, allocations: 322.9 kB / 384.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.284e-05/0.1004, allocations: 79.97 kB / 384.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.968e-05/0.1005, allocations: 4 kB / 384.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.1005, allocations: 12.5 kB / 384.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1005, allocations: 0 / 384.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Templates: time 0.002911/0.1034, allocations: 0.5904 MB / 385.4 MB, free: 9.043 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.032539546024054]