Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001239/0.001239, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001339/0.001339, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2316, allocations: 53.3 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002741/0.2343, allocations: 1.656 MB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.2352, allocations: 0.5572 MB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.2352, allocations: 0 / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.2353, allocations: 11.86 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.2354, allocations: 27.77 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2356, allocations: 31.89 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2358, allocations: 103.5 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2359, allocations: 23.98 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.2359, allocations: 43.91 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.732e-05/0.236, allocations: 39.84 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.2361, allocations: 8 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.2361, allocations: 15.94 kB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2362, allocations: 19.92 kB / 434.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.2362, allocations: 35.88 kB / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2364, allocations: 105.5 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2364, allocations: 4 kB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2364, allocations: 0 / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2364, allocations: 0 / 434.7 MB, free: 4.707 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.0005252/0.2369, allocations: 383.2 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.237, allocations: 8.031 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2371, allocations: 12.89 kB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2372, allocations: 180.2 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2373, allocations: 4.375 kB / 435.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.2373, allocations: 8.375 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2375, allocations: 93.36 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2375, allocations: 3.984 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2375, allocations: 4 kB / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.2375, allocations: 4 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2376, allocations: 51.97 kB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.2383, allocations: 404.5 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2384, allocations: 62.56 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.2385, allocations: 40.84 kB / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.2385, allocations: 0 / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.2385, allocations: 34.5 kB / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2385, allocations: 0 / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002125/0.2387, allocations: 89.77 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2388, allocations: 51.41 kB / 436.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.2388, allocations: 110 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2389, allocations: 29.7 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.2389, allocations: 107.9 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.239, allocations: 31.73 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.239, allocations: 25.72 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2392, allocations: 318.8 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.2392, allocations: 16 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.2393, allocations: 49.25 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2394, allocations: 78.5 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2394, allocations: 0 / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001581/0.2395, allocations: 101.6 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2395, allocations: 4 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2395, allocations: 0 / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2396, allocations: 7.938 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.2397, allocations: 27.92 kB / 437 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2397, allocations: 4.062 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.2397, allocations: 11.94 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2398, allocations: 0 / 437 MB, free: 2.164 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.0001034/0.2399, allocations: 113.8 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2399, allocations: 7.953 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.2399, allocations: 8.375 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2399, allocations: 7.938 kB / 437.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2399, allocations: 3.938 kB / 437.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2399, allocations: 3.984 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.2401, allocations: 189.6 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2401, allocations: 3.938 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.2402, allocations: 23.92 kB / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2402, allocations: 0 / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2403, allocations: 4 kB / 437.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2403, allocations: 3.938 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2403, allocations: 0 / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2405, allocations: 191.5 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.2405, allocations: 85.12 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2406, allocations: 4.281 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.2406, allocations: 7.938 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.2406, allocations: 11.92 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.2406, allocations: 4 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.2407, allocations: 79.28 kB / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2407, allocations: 0 / 437.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.2409, allocations: 27.94 kB / 437.8 MB, free: 1.305 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.0001133/0.241, allocations: 95.25 kB / 437.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2412, allocations: 59.91 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2412, allocations: 0 / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.2412, allocations: 23.98 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2415, allocations: 11.98 kB / 438 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.2422, allocations: 355.9 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2425, allocations: 0.6924 MB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.2425, allocations: 11.44 kB / 439 MB, free: 16 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2425, allocations: 0 / 439 MB, free: 16 MB / 350.1 MB Notification: Performance of Templates: time 0.002766/0.2453, allocations: 0.9735 MB / 440 MB, free: 15.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.371116945985705]