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.001642/0.001642, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001751/0.001751, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001941/0.001941, allocations: 71.89 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003155/0.2888, allocations: 1.59 MB / 434 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2898, allocations: 0.5183 MB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.2898, allocations: 4 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.2899, allocations: 11.86 kB / 434.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.29, allocations: 27.77 kB / 434.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.2902, allocations: 27.89 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.2903, allocations: 103.6 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2905, allocations: 30.88 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.2905, allocations: 39.84 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.2906, allocations: 35.84 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2906, allocations: 11.94 kB / 434.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.2907, allocations: 12 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.2907, allocations: 19.92 kB / 434.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.2908, allocations: 39.86 kB / 434.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.291, allocations: 99.33 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.291, allocations: 0 / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.291, allocations: 8 kB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.291, allocations: 0 / 434.9 MB, free: 3.957 MB / 334.1 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.0005051/0.2915, allocations: 294.2 kB / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2915, allocations: 15.98 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2916, allocations: 16.86 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2918, allocations: 118.4 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2918, allocations: 12.38 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2918, allocations: 8.375 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.292, allocations: 88.72 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.292, allocations: 4 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.292, allocations: 4 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.292, allocations: 4 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2922, allocations: 51.97 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.2928, allocations: 320.2 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.293, allocations: 62.56 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.293, allocations: 40.78 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.293, allocations: 0 / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2931, allocations: 38.72 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.2931, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.2933, allocations: 85.66 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.2934, allocations: 59.34 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.2935, allocations: 110 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2935, allocations: 29.7 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.2935, allocations: 99.92 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.2936, allocations: 31.73 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.2936, allocations: 25.72 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2938, allocations: 318.8 kB / 436.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.2938, allocations: 23.94 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.2939, allocations: 46.56 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.294, allocations: 70.5 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.294, allocations: 0 / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000163/0.2941, allocations: 105.6 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2942, allocations: 6.656 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2942, allocations: 0 / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2942, allocations: 15.81 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2943, allocations: 23.98 kB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2943, allocations: 8 kB / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.2944, allocations: 11.89 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2944, allocations: 4 kB / 437.1 MB, free: 1.664 MB / 334.1 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 0.0001531/0.2945, allocations: 113.8 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2945, allocations: 4 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.2946, allocations: 16.3 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2946, allocations: 4 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2946, allocations: 3.938 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2946, allocations: 0 / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2948, allocations: 129.2 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2948, allocations: 4 kB / 437.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2949, allocations: 20.23 kB / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2949, allocations: 4 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2949, allocations: 4 kB / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2949, allocations: 0 / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2949, allocations: 0 / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.2951, allocations: 199.4 kB / 437.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.2951, allocations: 11.92 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2951, allocations: 0 / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.2952, allocations: 0 / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.2952, allocations: 11.92 kB / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2952, allocations: 4.062 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.2953, allocations: 87.28 kB / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.2955, allocations: 20 kB / 437.7 MB, free: 0.9805 MB / 334.1 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.0001072/0.2956, allocations: 99.23 kB / 437.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.2958, allocations: 55.91 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2958, allocations: 0 / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.2958, allocations: 20 kB / 437.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2961, allocations: 15.89 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.2968, allocations: 340.9 kB / 438.2 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.2968, allocations: 87.72 kB / 438.3 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.2969, allocations: 11.44 kB / 438.3 MB, free: 316 kB / 334.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2969, allocations: 0 / 438.3 MB, free: 316 kB / 334.1 MB Notification: Performance of Templates: time 0.00263/0.2995, allocations: 1.016 MB / 439.3 MB, free: 15.29 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.917975630611181]