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.0008484/0.0008484, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001886, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007015/0.0007015, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008965/0.001598, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9455/0.9455, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.033, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.243e-06/1.243e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.346e-05, allocations: 5.828 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002119/0.002133, allocations: 1.723 MB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.002786, allocations: 0.5539 MB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.002824, allocations: 0 / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.002859, allocations: 15.92 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.002907, allocations: 27.7 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.752e-05/0.002995, allocations: 31.89 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.003104, allocations: 99.42 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.003195, allocations: 31.97 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.003272, allocations: 59.94 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.006353, allocations: 27.91 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.006372, allocations: 8 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.006449, allocations: 19.98 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.006466, allocations: 11.94 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.006502, allocations: 31.94 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.006629, allocations: 59.78 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.006644, allocations: 0 / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006645, allocations: 0 / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.006661, allocations: 0 / 247.7 MB, free: 10.96 MB / 250.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.0003863/0.007047, allocations: 304.3 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007079, allocations: 12.62 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.007231, allocations: 102 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.911e-05/0.00732, allocations: 117.6 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.007331, allocations: 384 / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.00735, allocations: 12.38 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.007444, allocations: 69.31 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.007453, allocations: 192 / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.007462, allocations: 4.375 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.00747, allocations: 7.938 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.007527, allocations: 31.92 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.007913, allocations: 251.9 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.007994, allocations: 54.53 kB / 248.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.00802, allocations: 16.86 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.008029, allocations: 3.984 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.00805, allocations: 38.56 kB / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.008051, allocations: 0 / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001196/0.008171, allocations: 61.77 kB / 248.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.00821, allocations: 59.41 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.008271, allocations: 110.7 kB / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.008282, allocations: 33.7 kB / 249 MB, free: 9.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.008327, allocations: 104.1 kB / 249.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.008349, allocations: 31.67 kB / 249.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.008385, allocations: 29.7 kB / 249.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.008462, allocations: 318.8 kB / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.00848, allocations: 11.98 kB / 249.4 MB, free: 9.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.008511, allocations: 34.56 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.008566, allocations: 58.41 kB / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008568, allocations: 0 / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.358e-05/0.008652, allocations: 73.61 kB / 249.6 MB, free: 8.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.008663, allocations: 4 kB / 249.6 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.008667, allocations: 0 / 249.6 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.008675, allocations: 4 kB / 249.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.00882, allocations: 27.98 kB / 249.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.008823, allocations: 0 / 249.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.008853, allocations: 15.89 kB / 249.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.008858, allocations: 12 kB / 249.7 MB, free: 8.801 MB / 250.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 5.627e-05/0.008914, allocations: 117.8 kB / 249.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.008935, allocations: 4 kB / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.008962, allocations: 16.38 kB / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008964, allocations: 0 / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008965, allocations: 0 / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008968, allocations: 0 / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.00908, allocations: 81.81 kB / 249.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00908, allocations: 0 / 249.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003095/0.01218, allocations: 27.98 kB / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.01219, allocations: 19.92 kB / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01219, allocations: 0 / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.0122, allocations: 0 / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0122, allocations: 4 kB / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.0122, allocations: 3.938 kB / 249.9 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.01233, allocations: 159.5 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.01234, allocations: 4 kB / 250.1 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.01238, allocations: 0 / 250.1 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.01239, allocations: 7.984 kB / 250.1 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.0124, allocations: 4.25 kB / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.01241, allocations: 16.88 kB / 250.1 MB, free: 8.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01241, allocations: 4 kB / 250.1 MB, free: 8.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.0126, allocations: 23.94 kB / 250.1 MB, free: 8.27 MB / 250.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 7.01e-05/0.01267, allocations: 84.34 kB / 250.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.01275, allocations: 36.84 kB / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.01275, allocations: 0 / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.01277, allocations: 20.8 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.01293, allocations: 19.92 kB / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.0148, allocations: 248.4 kB / 250.5 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.01484, allocations: 63.28 kB / 250.6 MB, free: 7.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.01487, allocations: 4.734 kB / 250.6 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.01492, allocations: 63.36 kB / 250.7 MB, free: 7.676 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01492, allocations: 4 kB / 250.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of Templates: time 0.005456/0.02037, allocations: 0.773 MB / 251.5 MB, free: 6.914 MB / 250.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 -ignoreHideResult -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.5301435869187117]