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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 59.91 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2255, allocations: 50.54 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002652/0.2281, allocations: 1.635 MB / 410.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.2291, allocations: 0.5378 MB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.2292, allocations: 0 / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.069e-05/0.2293, allocations: 15.86 kB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.2294, allocations: 35.7 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2296, allocations: 27.91 kB / 411.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2298, allocations: 99.58 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2299, allocations: 31.98 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.2299, allocations: 39.86 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.23, allocations: 43.83 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2301, allocations: 8 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.2301, allocations: 15.94 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.2302, allocations: 19.98 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.2302, allocations: 39.81 kB / 411.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2304, allocations: 103.5 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2304, allocations: 3.984 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2304, allocations: 0 / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2304, allocations: 4 kB / 411.9 MB, free: 14.97 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.0005508/0.231, allocations: 376.6 kB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.231, allocations: 8.031 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2312, allocations: 16.84 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2313, allocations: 176.2 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2314, allocations: 4.312 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2314, allocations: 12.38 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2316, allocations: 84.22 kB / 412.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2316, allocations: 11.89 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2317, allocations: 3.984 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2317, allocations: 0 / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2318, allocations: 51.97 kB / 412.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.2325, allocations: 404.4 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2326, allocations: 66.56 kB / 413.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.2327, allocations: 40.72 kB / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2327, allocations: 0 / 413.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2327, allocations: 34.56 kB / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2327, allocations: 0 / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002123/0.2329, allocations: 93.77 kB / 413.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.233, allocations: 51.41 kB / 413.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.2331, allocations: 109.8 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2331, allocations: 25.7 kB / 413.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.2332, allocations: 103.9 kB / 413.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2332, allocations: 31.55 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.2332, allocations: 25.72 kB / 413.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2334, allocations: 322.8 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.2334, allocations: 19.94 kB / 413.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.2335, allocations: 46.56 kB / 414 MB, free: 12.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.417e-05/0.2336, allocations: 66.56 kB / 414 MB, free: 12.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2336, allocations: 0 / 414 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001534/0.2338, allocations: 113.4 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2338, allocations: 4 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2338, allocations: 0 / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2338, allocations: 3.938 kB / 414.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.234, allocations: 31.92 kB / 414.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.234, allocations: 4 kB / 414.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.234, allocations: 3.906 kB / 414.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2341, allocations: 4 kB / 414.2 MB, free: 12.43 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 9.786e-05/0.2342, allocations: 125.8 kB / 414.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.2342, allocations: 4 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.2342, allocations: 8.375 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2343, allocations: 8.172 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2343, allocations: 7.938 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.2343, allocations: 4 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2345, allocations: 185.5 kB / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2345, allocations: 0 / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2346, allocations: 19.98 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.2346, allocations: 0 / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2347, allocations: 4 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2347, allocations: 3.938 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2347, allocations: 4 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.2349, allocations: 191.5 kB / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.235, allocations: 84.95 kB / 414.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.235, allocations: 3.938 kB / 414.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.2351, allocations: 11.88 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.2351, allocations: 7.984 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2351, allocations: 8.062 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.2352, allocations: 83.28 kB / 414.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2352, allocations: 0 / 414.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.2354, allocations: 16 kB / 414.9 MB, free: 11.57 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.0001234/0.2356, allocations: 103.2 kB / 415 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.2358, allocations: 51.92 kB / 415.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2358, allocations: 4 kB / 415.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.2358, allocations: 20.12 kB / 415.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2361, allocations: 11.98 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.2369, allocations: 322.6 kB / 415.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2372, allocations: 0.7 MB / 416.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.2372, allocations: 7.953 kB / 416.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2373, allocations: 15.42 kB / 416.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2373, allocations: 0 / 416.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of Templates: time 0.002778/0.2401, allocations: 0.633 MB / 416.8 MB, free: 9.656 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches