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.001013/0.001013, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001058/0.001058, allocations: 167.8 kB / 25.75 MB, free: 8.922 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.911/0.911, allocations: 158.6 MB / 187.5 MB, free: 2.922 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 2.675e-06/2.675e-06, allocations: 3.984 kB / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.117e-05, allocations: 2.312 kB / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002588/0.002609, allocations: 1.664 MB / 252.7 MB, free: 6.152 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000765/0.003374, allocations: 0.5113 MB / 253.3 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.003424, allocations: 4 kB / 253.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.003467, allocations: 7.875 kB / 253.3 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.003533, allocations: 35.7 kB / 253.3 MB, free: 5.586 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.00375, allocations: 27.95 kB / 253.3 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003866, allocations: 103.5 kB / 253.4 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.003993, allocations: 31.92 kB / 253.5 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.004056, allocations: 51.89 kB / 253.5 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.004139, allocations: 31.91 kB / 253.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.00416, allocations: 8 kB / 253.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.004224, allocations: 16 kB / 253.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.004242, allocations: 15.97 kB / 253.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.004277, allocations: 43.91 kB / 253.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.004406, allocations: 71.69 kB / 253.7 MB, free: 5.191 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004408, allocations: 0 / 253.7 MB, free: 5.191 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004408, allocations: 0 / 253.7 MB, free: 5.191 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.004412, allocations: 0 / 253.7 MB, free: 5.191 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.0003537/0.004765, allocations: 404.4 kB / 254.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.0048, allocations: 11.98 kB / 254.1 MB, free: 4.75 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.004919, allocations: 28.78 kB / 254.1 MB, free: 4.723 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.004999, allocations: 112.6 kB / 254.2 MB, free: 4.586 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.00501, allocations: 8.375 kB / 254.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005031, allocations: 8.375 kB / 254.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005147, allocations: 78.16 kB / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005156, allocations: 192 / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005167, allocations: 384 / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.005176, allocations: 7.938 kB / 254.3 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.00525, allocations: 35.92 kB / 254.4 MB, free: 4.445 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.005715, allocations: 375.4 kB / 254.7 MB, free: 4.043 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.005809, allocations: 63.05 kB / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.005847, allocations: 31.61 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.005855, allocations: 4 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.005873, allocations: 37.33 kB / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005873, allocations: 0 / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001647/0.006038, allocations: 73.81 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.006063, allocations: 51.41 kB / 255 MB, free: 3.742 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.006139, allocations: 173.9 kB / 255.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.006148, allocations: 25.7 kB / 255.2 MB, free: 3.523 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.006202, allocations: 154.8 kB / 255.3 MB, free: 3.367 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.00622, allocations: 27.75 kB / 255.4 MB, free: 3.34 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.006255, allocations: 43.31 kB / 255.4 MB, free: 3.289 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.006371, allocations: 0.4922 MB / 255.9 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.006396, allocations: 15.92 kB / 255.9 MB, free: 2.77 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.006435, allocations: 43.05 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.006501, allocations: 63.05 kB / 256 MB, free: 2.641 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006503, allocations: 0 / 256 MB, free: 2.641 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000106/0.006609, allocations: 93.5 kB / 256.1 MB, free: 2.543 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.00662, allocations: 4 kB / 256.1 MB, free: 2.539 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.006624, allocations: 4.062 kB / 256.1 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006635, allocations: 4 kB / 256.1 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.006721, allocations: 23.98 kB / 256.1 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.006726, allocations: 0 / 256.1 MB, free: 2.508 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.006751, allocations: 7.953 kB / 256.2 MB, free: 2.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.006758, allocations: 11.94 kB / 256.2 MB, free: 2.488 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.858e-05/0.006827, allocations: 156.5 kB / 256.3 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.006846, allocations: 11.95 kB / 256.3 MB, free: 2.312 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.006873, allocations: 12.44 kB / 256.3 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006876, allocations: 0 / 256.3 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006879, allocations: 4 kB / 256.3 MB, free: 2.297 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.006884, allocations: 3.984 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006993, allocations: 132.6 kB / 256.5 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006994, allocations: 0 / 256.5 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.007051, allocations: 16 kB / 256.5 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007055, allocations: 7.969 kB / 256.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.007068, allocations: 4 kB / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007069, allocations: 0 / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00707, allocations: 0 / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.00723, allocations: 239.7 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.007237, allocations: 11.97 kB / 256.8 MB, free: 1.832 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.007248, allocations: 4 kB / 256.8 MB, free: 1.828 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.007278, allocations: 0 / 256.8 MB, free: 1.828 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.007296, allocations: 4 kB / 256.8 MB, free: 1.824 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.007299, allocations: 3.984 kB / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.007335, allocations: 131.4 kB / 256.9 MB, free: 1.691 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007335, allocations: 4 kB / 256.9 MB, free: 1.688 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.00749, allocations: 19.95 kB / 256.9 MB, free: 1.668 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.81e-05/0.007558, allocations: 95.36 kB / 257 MB, free: 1.566 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.007663, allocations: 71.41 kB / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007664, allocations: 0 / 257.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.007688, allocations: 28 kB / 257.1 MB, free: 1.461 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.007865, allocations: 8.156 kB / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.008417, allocations: 269.4 kB / 257.4 MB, free: 1.164 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.008451, allocations: 59.34 kB / 257.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.008479, allocations: 11.98 kB / 257.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.008503, allocations: 12.5 kB / 257.5 MB, free: 1.059 MB / 234.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008504, allocations: 0 / 257.5 MB, free: 1.059 MB / 234.7 MB Notification: Performance of Templates: time 0.002005/0.01051, allocations: 0.6079 MB / 258.1 MB, free: 472 kB / 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.624997119186446]