Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009451/0.0009451, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009591/0.0009591, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9748/0.9748, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.09e-05, allocations: 2.312 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.0018/0.001821, allocations: 1.682 MB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.002464, allocations: 0.5377 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.00251, allocations: 0 / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.002556, allocations: 11.86 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.002621, allocations: 35.7 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.002822, allocations: 35.83 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002933, allocations: 103.5 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.003041, allocations: 23.97 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.003096, allocations: 55.89 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.003171, allocations: 27.95 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.003187, allocations: 8 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.003254, allocations: 16 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.003276, allocations: 19.92 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.003307, allocations: 39.86 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003433, allocations: 63.8 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.003436, allocations: 7.938 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003436, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003441, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.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.0003607/0.003801, allocations: 400.5 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.003837, allocations: 15.98 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.003956, allocations: 28.7 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.004036, allocations: 112.6 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.004048, allocations: 12.31 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.00407, allocations: 12.38 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.004184, allocations: 67.09 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.004195, allocations: 4.172 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004204, allocations: 384 / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.004212, allocations: 7.938 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.004281, allocations: 39.19 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.004765, allocations: 375.4 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.004868, allocations: 70.98 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.004903, allocations: 23.67 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.004912, allocations: 4 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004931, allocations: 33.39 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.004933, allocations: 4 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001593/0.005092, allocations: 81.94 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.00512, allocations: 51.41 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.005191, allocations: 169.9 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.0052, allocations: 25.7 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.005254, allocations: 146.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.005271, allocations: 35.73 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.005305, allocations: 31.38 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.005406, allocations: 0.4922 MB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.005427, allocations: 8 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.005466, allocations: 47.05 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.406e-05/0.00553, allocations: 66.92 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005532, allocations: 0 / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.587e-05/0.005628, allocations: 93.52 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.005641, allocations: 11.19 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.005646, allocations: 7.984 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.005658, allocations: 0 / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.005785, allocations: 20.25 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.005792, allocations: 4 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.005819, allocations: 7.953 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.005826, allocations: 7.938 kB / 278 MB, free: 12.09 MB / 266.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.741e-05/0.005893, allocations: 168.5 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.005913, allocations: 8 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.005938, allocations: 8.438 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00594, allocations: 4 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005943, allocations: 0 / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.005947, allocations: 3.984 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006054, allocations: 152.4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006055, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.006114, allocations: 19.98 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.006116, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.006127, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006128, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.00613, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.006288, allocations: 240.1 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.006294, allocations: 4.031 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006305, allocations: 4 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.006333, allocations: 4 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.006347, allocations: 3.984 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.00635, allocations: 4 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.006385, allocations: 123.2 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006385, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00015/0.006535, allocations: 27.95 kB / 278.8 MB, free: 11.26 MB / 266.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 0.0001919/0.006726, allocations: 95.23 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.91e-05/0.006826, allocations: 63.61 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006827, allocations: 0 / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.006849, allocations: 31.61 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.00702, allocations: 4 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.007538, allocations: 274.5 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.007571, allocations: 67.28 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.405e-05/0.007596, allocations: 8 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.007618, allocations: 16.44 kB / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007619, allocations: 0 / 279.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Templates: time 0.002597/0.01022, allocations: 0.6196 MB / 280 MB, free: 10.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.651355506386608]