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.001536/0.001542, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2058, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002489/0.2083, allocations: 1.632 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.2092, allocations: 0.5417 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.2092, allocations: 4 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.993e-05/0.2093, allocations: 19.8 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.2094, allocations: 27.77 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2096, allocations: 27.91 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2097, allocations: 99.58 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2098, allocations: 31.98 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.2099, allocations: 39.8 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.21, allocations: 51.77 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.21, allocations: 8 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.694e-05/0.2101, allocations: 12 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.2101, allocations: 23.92 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.2102, allocations: 39.86 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.2103, allocations: 99.53 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2103, allocations: 0 / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2104, allocations: 0 / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2104, allocations: 4 kB / 412.6 MB, free: 14.94 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.0004366/0.2108, allocations: 376.6 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2109, allocations: 8.031 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.211, allocations: 20.77 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2111, allocations: 168.3 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2111, allocations: 8.375 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2112, allocations: 12.38 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.2113, allocations: 84.38 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2113, allocations: 3.906 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2114, allocations: 8 kB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2114, allocations: 4 kB / 413.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.2115, allocations: 51.97 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.2121, allocations: 392.4 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2123, allocations: 70.5 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.2123, allocations: 40.83 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2123, allocations: 8 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2124, allocations: 30.56 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.2124, allocations: 0 / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002013/0.2126, allocations: 89.77 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2126, allocations: 55.39 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.2127, allocations: 105.8 kB / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2127, allocations: 29.7 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2128, allocations: 103.9 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.2128, allocations: 35.55 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.2129, allocations: 21.72 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.213, allocations: 318.8 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.213, allocations: 23.94 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.2131, allocations: 42.56 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/0.2132, allocations: 66.56 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2132, allocations: 4 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001627/0.2133, allocations: 105.5 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2134, allocations: 8 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2134, allocations: 0 / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2134, allocations: 7.875 kB / 414.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2135, allocations: 27.92 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2135, allocations: 4 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.2136, allocations: 7.969 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2136, allocations: 8 kB / 414.9 MB, free: 12.39 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 7.032e-05/0.2137, allocations: 117.8 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2137, allocations: 4 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.2138, allocations: 16.3 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2138, allocations: 3.938 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2138, allocations: 0 / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.2138, allocations: 85.02 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2138, allocations: 4.25 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.2139, allocations: 8 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.2139, allocations: 4 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002262/0.2142, allocations: 164.9 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002261/0.2144, allocations: 270.6 kB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.86e-05/0.2144, allocations: 20.02 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.2145, allocations: 91.22 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.2145, allocations: 4.062 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.2149, allocations: 130.3 kB / 415.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006275/0.2155, allocations: 0.7379 MB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.002748/0.2183, allocations: 0.7189 MB / 417.2 MB, free: 9.926 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches