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.0009909/0.0009909, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001147/0.001147, allocations: 165.1 kB / 25.7 MB, free: 8.438 MB / 18.57 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 0.9239/0.9239, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 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: 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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.319e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.005568/0.005591, allocations: 1.711 MB / 253.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.0064, allocations: 0.5073 MB / 253.8 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.00646, allocations: 8 kB / 253.8 MB, free: 5.012 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.006511, allocations: 11.86 kB / 253.8 MB, free: 5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.006598, allocations: 31.7 kB / 253.8 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.006793, allocations: 31.89 kB / 253.8 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.006919, allocations: 99.47 kB / 253.9 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.007035, allocations: 39.78 kB / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.007121, allocations: 59.88 kB / 254 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.007211, allocations: 23.97 kB / 254.1 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.007229, allocations: 8 kB / 254.1 MB, free: 4.715 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.007322, allocations: 19.94 kB / 254.1 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.00735, allocations: 23.91 kB / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.007389, allocations: 35.91 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.01054, allocations: 59.88 kB / 254.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01055, allocations: 3.938 kB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01055, allocations: 0 / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.01055, allocations: 0 / 254.2 MB, free: 4.574 MB / 234.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.0003567/0.01091, allocations: 284.7 kB / 254.5 MB, free: 4.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.01095, allocations: 11.98 kB / 254.5 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.01108, allocations: 20.86 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.01118, allocations: 125.6 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.0112, allocations: 8.375 kB / 254.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.01122, allocations: 12.38 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.01132, allocations: 62.22 kB / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01133, allocations: 192 / 254.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.01134, allocations: 4.375 kB / 254.7 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01135, allocations: 3.938 kB / 254.7 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.01142, allocations: 27.94 kB / 254.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.01183, allocations: 259.9 kB / 255 MB, free: 3.703 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.01192, allocations: 50.48 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.01194, allocations: 20.86 kB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.01195, allocations: 0 / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.01197, allocations: 30.56 kB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01197, allocations: 4 kB / 255.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001265/0.0121, allocations: 65.81 kB / 255.2 MB, free: 3.508 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.01213, allocations: 55.34 kB / 255.2 MB, free: 3.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.01219, allocations: 110.7 kB / 255.3 MB, free: 3.32 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.0122, allocations: 25.7 kB / 255.4 MB, free: 3.289 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.01225, allocations: 112.1 kB / 255.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.01227, allocations: 27.73 kB / 255.5 MB, free: 3.148 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.0123, allocations: 29.7 kB / 255.5 MB, free: 3.113 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.01239, allocations: 322.8 kB / 255.8 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.01241, allocations: 4 kB / 255.8 MB, free: 2.785 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.01244, allocations: 34.55 kB / 255.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.0125, allocations: 54.42 kB / 255.9 MB, free: 2.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0125, allocations: 0 / 255.9 MB, free: 2.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.523e-05/0.0126, allocations: 73.61 kB / 256 MB, free: 2.602 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.01261, allocations: 8 kB / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01261, allocations: 0 / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01262, allocations: 0 / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01276, allocations: 27.98 kB / 256 MB, free: 2.566 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01276, allocations: 4 kB / 256 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.01279, allocations: 7.891 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.0128, allocations: 4 kB / 256.1 MB, free: 2.551 MB / 234.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 6.157e-05/0.01286, allocations: 117.7 kB / 256.2 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.01288, allocations: 7.984 kB / 256.2 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.01291, allocations: 20.5 kB / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01291, allocations: 0 / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01291, allocations: 256 / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01292, allocations: 0 / 256.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01304, allocations: 93.8 kB / 256.3 MB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01304, allocations: 0 / 256.3 MB, free: 2.289 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.01313, allocations: 19.98 kB / 256.3 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01314, allocations: 4 kB / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.01315, allocations: 0 / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01315, allocations: 0 / 256.3 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01315, allocations: 7.938 kB / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.01631, allocations: 171.7 kB / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.01632, allocations: 15.86 kB / 256.5 MB, free: 2.059 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.01633, allocations: 8 kB / 256.5 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.01638, allocations: 0 / 256.5 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.01639, allocations: 3.984 kB / 256.5 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.0164, allocations: 4 kB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.209e-05/0.01641, allocations: 8.859 kB / 256.5 MB, free: 2.031 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01641, allocations: 0 / 256.5 MB, free: 2.031 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.0166, allocations: 20 kB / 256.5 MB, free: 2.012 MB / 234.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 8.004e-05/0.01668, allocations: 80.45 kB / 256.6 MB, free: 1.926 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.01677, allocations: 40.86 kB / 256.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.01678, allocations: 4 kB / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.0168, allocations: 32.75 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01697, allocations: 11.94 kB / 256.7 MB, free: 1.832 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.0175, allocations: 247.7 kB / 257 MB, free: 1.566 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.068e-05/0.01754, allocations: 67.34 kB / 257 MB, free: 1.48 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.01757, allocations: 4.734 kB / 257 MB, free: 1.469 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.01763, allocations: 59.38 kB / 257.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01763, allocations: 0 / 257.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of Templates: time 0.005459/0.02309, allocations: 0.7663 MB / 257.9 MB, free: 0.6523 MB / 234.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] 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","",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.508016294799745]