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.001335/0.001335, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001441/0.001441, allocations: 170.6 kB / 25.7 MB, free: 7.434 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.8733/0.8733, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.042e-06/1.042e-06, allocations: 0 / 251.5 MB, free: 7.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.278e-05, allocations: 2.312 kB / 251.5 MB, free: 7.305 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001717/0.00173, allocations: 1.66 MB / 253.2 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.00232, allocations: 0.519 MB / 253.7 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.002362, allocations: 0 / 253.7 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.924e-05/0.002401, allocations: 11.86 kB / 253.7 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.002461, allocations: 27.78 kB / 253.7 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.002631, allocations: 35.89 kB / 253.8 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.002734, allocations: 107.4 kB / 253.9 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.002826, allocations: 23.98 kB / 253.9 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.002884, allocations: 55.94 kB / 253.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.00296, allocations: 35.89 kB / 254 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.002977, allocations: 8 kB / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.003035, allocations: 11.94 kB / 254 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.003054, allocations: 19.92 kB / 254 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.003083, allocations: 31.92 kB / 254 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003186, allocations: 67.86 kB / 254.1 MB, free: 4.676 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003188, allocations: 4 kB / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003189, allocations: 0 / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.003191, allocations: 3.938 kB / 254.1 MB, free: 4.668 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.0002683/0.003459, allocations: 280.7 kB / 254.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.003489, allocations: 11.98 kB / 254.4 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.003586, allocations: 24.8 kB / 254.4 MB, free: 4.336 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.003657, allocations: 117.7 kB / 254.5 MB, free: 4.195 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.003667, allocations: 4.375 kB / 254.5 MB, free: 4.191 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.003685, allocations: 12.38 kB / 254.6 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.643e-05/0.003762, allocations: 70.22 kB / 254.6 MB, free: 4.105 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.003771, allocations: 8.172 kB / 254.6 MB, free: 4.098 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.003778, allocations: 4.312 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.003783, allocations: 7.938 kB / 254.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.003828, allocations: 27.94 kB / 254.7 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.004152, allocations: 251.9 kB / 254.9 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.004217, allocations: 42.56 kB / 255 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.00424, allocations: 28.98 kB / 255 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.004247, allocations: 8 kB / 255 MB, free: 3.707 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.004263, allocations: 30.56 kB / 255 MB, free: 3.668 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.004264, allocations: 0 / 255 MB, free: 3.668 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 9.94e-05/0.004363, allocations: 65.61 kB / 255.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.00439, allocations: 55.41 kB / 255.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.004439, allocations: 102.7 kB / 255.2 MB, free: 3.418 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.004447, allocations: 29.7 kB / 255.3 MB, free: 3.383 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.004484, allocations: 108.1 kB / 255.4 MB, free: 3.273 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.0045, allocations: 31.72 kB / 255.4 MB, free: 3.242 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.004532, allocations: 29.7 kB / 255.4 MB, free: 3.207 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.004598, allocations: 322.8 kB / 255.8 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.00461, allocations: 8 kB / 255.8 MB, free: 2.875 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.004637, allocations: 34.55 kB / 255.8 MB, free: 2.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.004679, allocations: 50.42 kB / 255.8 MB, free: 2.773 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004682, allocations: 0 / 255.8 MB, free: 2.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.748e-05/0.004749, allocations: 73.61 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.004759, allocations: 4 kB / 255.9 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.004765, allocations: 7.984 kB / 255.9 MB, free: 2.684 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.004775, allocations: 4.062 kB / 255.9 MB, free: 2.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.004844, allocations: 23.94 kB / 256 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.004847, allocations: 0 / 256 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.00487, allocations: 11.89 kB / 256 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.004874, allocations: 0 / 256 MB, free: 2.645 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 4.887e-05/0.004923, allocations: 121.8 kB / 256.1 MB, free: 2.516 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.004935, allocations: 4 kB / 256.1 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.00496, allocations: 12.44 kB / 256.1 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.004963, allocations: 4 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004964, allocations: 0 / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.004967, allocations: 4 kB / 256.1 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.00505, allocations: 81.81 kB / 256.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005051, allocations: 0 / 256.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.005102, allocations: 23.92 kB / 256.2 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005103, allocations: 0 / 256.2 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.005112, allocations: 4.25 kB / 256.2 MB, free: 2.367 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.005115, allocations: 4 kB / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.005115, allocations: 0 / 256.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.005215, allocations: 167.5 kB / 256.4 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-06/0.005224, allocations: 15.81 kB / 256.4 MB, free: 2.168 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.005233, allocations: 4 kB / 256.4 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.005259, allocations: 8.031 kB / 256.4 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.005269, allocations: 0 / 256.4 MB, free: 2.156 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005271, allocations: 3.984 kB / 256.4 MB, free: 2.152 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.002e-05/0.005281, allocations: 16.8 kB / 256.4 MB, free: 2.133 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005281, allocations: 0 / 256.4 MB, free: 2.133 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.005407, allocations: 20 kB / 256.4 MB, free: 2.113 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 6.445e-05/0.005472, allocations: 72.42 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.005536, allocations: 49.16 kB / 256.6 MB, free: 1.984 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.005539, allocations: 0 / 256.6 MB, free: 1.984 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.005554, allocations: 28.95 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.005671, allocations: 11.94 kB / 256.6 MB, free: 1.941 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.006094, allocations: 247.6 kB / 256.8 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.02e-05/0.006125, allocations: 67.34 kB / 256.9 MB, free: 1.59 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.155e-05/0.006146, allocations: 7.984 kB / 256.9 MB, free: 1.582 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.006186, allocations: 55.38 kB / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of SimCode: time 3.8e-07/0.006187, allocations: 0 / 257 MB, free: 1.527 MB / 234.7 MB Notification: Performance of Templates: time 0.001832/0.008019, allocations: 0.6693 MB / 257.6 MB, free: 0.8672 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 -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.482876962982118]