Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001489/0.001489, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001652/0.001652, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.92 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07383/0.07505, allocations: 46.61 MB / 375.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002505/0.07758, allocations: 1.627 MB / 377.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007805/0.07838, allocations: 0.515 MB / 377.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.07844, allocations: 4 kB / 377.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.0785, allocations: 7.922 kB / 378 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.07857, allocations: 31.7 kB / 378 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.07876, allocations: 23.97 kB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.07889, allocations: 103.5 kB / 378.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.07902, allocations: 35.98 kB / 378.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.07907, allocations: 35.92 kB / 378.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.07917, allocations: 43.83 kB / 378.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.07919, allocations: 8 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.07926, allocations: 12 kB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.07929, allocations: 19.92 kB / 378.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.07934, allocations: 39.81 kB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.0795, allocations: 103.7 kB / 378.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.07951, allocations: 3.984 kB / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.07951, allocations: 0 / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.07953, allocations: 4 kB / 378.4 MB, free: 2.004 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.0004367/0.07997, allocations: 371.3 kB / 378.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.08002, allocations: 12.03 kB / 378.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.08014, allocations: 12.84 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.08025, allocations: 176.2 kB / 379 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.08028, allocations: 8.359 kB / 379 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.08031, allocations: 8.375 kB / 379 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.08049, allocations: 89.98 kB / 379.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.08051, allocations: 0 / 379.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.08053, allocations: 3.984 kB / 379.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.08054, allocations: 7.938 kB / 379.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.08066, allocations: 59.86 kB / 379.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.08128, allocations: 392.4 kB / 379.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.08142, allocations: 78.5 kB / 379.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.08148, allocations: 32.84 kB / 379.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.08149, allocations: 0 / 379.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.08152, allocations: 30.56 kB / 379.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.08152, allocations: 0 / 379.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002013/0.08173, allocations: 97.7 kB / 379.8 MB, free: 496 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.08177, allocations: 51.41 kB / 379.8 MB, free: 432 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.08184, allocations: 109.8 kB / 379.9 MB, free: 312 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.08186, allocations: 25.7 kB / 379.9 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.08192, allocations: 103.9 kB / 380 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.08195, allocations: 35.48 kB / 380.1 MB, free: 136 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.082, allocations: 29.72 kB / 380.1 MB, free: 100 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.151/0.233, allocations: 314.8 kB / 380.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.2331, allocations: 20.06 kB / 380.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.2332, allocations: 47.52 kB / 380.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.964e-05/0.2333, allocations: 62.42 kB / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2333, allocations: 0 / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001742/0.2335, allocations: 109.9 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2335, allocations: 6.688 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2335, allocations: 0.875 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2335, allocations: 1.375 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2337, allocations: 36.23 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2337, allocations: 1.375 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.2338, allocations: 10 kB / 380.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2338, allocations: 3.641 kB / 380.7 MB, free: 12.75 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 6.44e-05/0.2338, allocations: 118.2 kB / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.2339, allocations: 6.516 kB / 380.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2339, allocations: 10.25 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2339, allocations: 8.062 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2339, allocations: 0 / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.234, allocations: 81.33 kB / 380.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.234, allocations: 2.078 kB / 380.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.2341, allocations: 3.375 kB / 380.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.2341, allocations: 5.422 kB / 380.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002142/0.2343, allocations: 166.4 kB / 381.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001849/0.2345, allocations: 271.8 kB / 381.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.176e-05/0.2345, allocations: 23.2 kB / 381.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.749e-05/0.2346, allocations: 87.92 kB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of Backend: time 1.061e-06/0.2346, allocations: 3.938 kB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.235, allocations: 123.8 kB / 381.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005368/0.2355, allocations: 0.7443 MB / 382.3 MB, free: 11.42 MB / 318.1 MB Notification: Performance of Templates: time 0.00303/0.2386, allocations: 0.7423 MB / 383.1 MB, free: 11.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches