Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009509/0.0009509, allocations: 55.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2119, allocations: 49.42 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002601/0.2145, allocations: 1.647 MB / 403 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.2153, allocations: 0.5066 MB / 403.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.2154, allocations: 0 / 403.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.2154, allocations: 15.86 kB / 403.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.2155, allocations: 23.77 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2157, allocations: 35.89 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.2159, allocations: 95.53 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.216, allocations: 43.89 kB / 403.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.2161, allocations: 43.84 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.2162, allocations: 39.84 kB / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2162, allocations: 8 kB / 403.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.2163, allocations: 12 kB / 403.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2163, allocations: 19.98 kB / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.2163, allocations: 43.8 kB / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2165, allocations: 100.8 kB / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2165, allocations: 0 / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2165, allocations: 0 / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2165, allocations: 0 / 404 MB, free: 6.223 MB / 318.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.0004304/0.217, allocations: 383.3 kB / 404.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.217, allocations: 8.031 kB / 404.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.2171, allocations: 16.83 kB / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2172, allocations: 168.3 kB / 404.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2173, allocations: 8.375 kB / 404.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2173, allocations: 12.38 kB / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2175, allocations: 89.02 kB / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2175, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2175, allocations: 12 kB / 404.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2175, allocations: 3.938 kB / 404.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2176, allocations: 51.97 kB / 404.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.2183, allocations: 392.4 kB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2184, allocations: 70.5 kB / 405.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.2185, allocations: 40.84 kB / 405.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.2185, allocations: 4 kB / 405.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2185, allocations: 30.72 kB / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2185, allocations: 0 / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001993/0.2187, allocations: 93.53 kB / 405.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.2188, allocations: 55.41 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.2188, allocations: 113.8 kB / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2189, allocations: 25.7 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.2189, allocations: 103.9 kB / 405.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.219, allocations: 31.55 kB / 405.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.219, allocations: 25.66 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2191, allocations: 318.8 kB / 406 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.2192, allocations: 23.98 kB / 406 MB, free: 3.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.2192, allocations: 45.69 kB / 406.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.2193, allocations: 62.58 kB / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2193, allocations: 0 / 406.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.2195, allocations: 109.5 kB / 406.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2195, allocations: 11.94 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2195, allocations: 0 / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2195, allocations: 0 / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2197, allocations: 27.92 kB / 406.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2197, allocations: 4 kB / 406.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.2197, allocations: 11.97 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.2197, allocations: 4 kB / 406.3 MB, free: 3.68 MB / 318.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.589e-05/0.2198, allocations: 117.8 kB / 406.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.2199, allocations: 7.984 kB / 406.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.2199, allocations: 8.375 kB / 406.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2199, allocations: 7.922 kB / 406.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2199, allocations: 256 / 406.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.2199, allocations: 81.02 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.22, allocations: 12 kB / 406.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.22, allocations: 4 kB / 406.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.2201, allocations: 7.984 kB / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002244/0.2203, allocations: 161.2 kB / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002166/0.2205, allocations: 282.7 kB / 407 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.822e-05/0.2206, allocations: 15.98 kB / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.2206, allocations: 87.34 kB / 407.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Backend: time 2.01e-07/0.2206, allocations: 4 kB / 407.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.221, allocations: 126.2 kB / 407.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006211/0.2216, allocations: 0.7343 MB / 408 MB, free: 1.934 MB / 318.1 MB Notification: Performance of Templates: time 0.002722/0.2244, allocations: 0.7229 MB / 408.7 MB, free: 1.211 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches