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.0016/0.0016, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001862/0.001862, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.34/1.34, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001194/0.001194, allocations: 51.92 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07336/0.07456, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002398/0.07699, allocations: 1.627 MB / 377.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.07774, allocations: 0.5189 MB / 378 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.0778, allocations: 4 kB / 378 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.07786, allocations: 11.86 kB / 378 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.07793, allocations: 27.77 kB / 378 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.07813, allocations: 27.91 kB / 378 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.07825, allocations: 99.52 kB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.07838, allocations: 39.97 kB / 378.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.07843, allocations: 27.94 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.07852, allocations: 43.84 kB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.07854, allocations: 8 kB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-05/0.07861, allocations: 8 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.07864, allocations: 27.91 kB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.0787, allocations: 43.8 kB / 378.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.07885, allocations: 103.6 kB / 378.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.07887, allocations: 4 kB / 378.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07887, allocations: 0 / 378.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.07888, allocations: 0 / 378.4 MB, free: 1.973 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.000415/0.0793, allocations: 375.2 kB / 378.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.07935, allocations: 16.02 kB / 378.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.07947, allocations: 12.83 kB / 378.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.07958, allocations: 168.3 kB / 379 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.07961, allocations: 12.31 kB / 379 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.07964, allocations: 8.375 kB / 379 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.07979, allocations: 93.95 kB / 379.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.07981, allocations: 0 / 379.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.07983, allocations: 4 kB / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.07984, allocations: 7.938 kB / 379.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.07996, allocations: 55.92 kB / 379.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.08056, allocations: 396.5 kB / 379.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.08069, allocations: 66.56 kB / 379.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.08075, allocations: 36.84 kB / 379.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.08077, allocations: 0 / 379.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.0808, allocations: 30.56 kB / 379.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.0808, allocations: 0 / 379.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001938/0.081, allocations: 97.83 kB / 379.8 MB, free: 464 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.08104, allocations: 59.39 kB / 379.8 MB, free: 392 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.08111, allocations: 105.8 kB / 379.9 MB, free: 276 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.08113, allocations: 33.64 kB / 380 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.08119, allocations: 95.98 kB / 380.1 MB, free: 136 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.08121, allocations: 31.73 kB / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.08126, allocations: 25.72 kB / 380.1 MB, free: 72 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1513/0.2326, allocations: 318.8 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.2327, allocations: 18.36 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.2327, allocations: 45.31 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.2328, allocations: 69.94 kB / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2329, allocations: 0 / 380.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.233, allocations: 106 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2331, allocations: 4.688 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2331, allocations: 2.719 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2331, allocations: 1.062 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2332, allocations: 30.97 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2333, allocations: 0 / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.2333, allocations: 12.41 kB / 380.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2333, allocations: 4.219 kB / 380.7 MB, free: 12.74 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.585e-05/0.2334, allocations: 121.5 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2334, allocations: 8.594 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.2335, allocations: 8.922 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2335, allocations: 5.312 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2335, allocations: 3.156 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.2335, allocations: 81.62 kB / 380.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2335, allocations: 4.812 kB / 380.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.2336, allocations: 0.7969 kB / 380.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.2336, allocations: 7.672 kB / 380.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002068/0.2339, allocations: 166.6 kB / 381.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001757/0.234, allocations: 274.8 kB / 381.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.931e-05/0.2341, allocations: 23.44 kB / 381.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.2341, allocations: 82.33 kB / 381.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Backend: time 4.61e-07/0.2341, allocations: 1.406 kB / 381.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.2345, allocations: 128.4 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005253/0.2351, allocations: 0.7477 MB / 382.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Templates: time 0.002766/0.2378, allocations: 0.7256 MB / 383.1 MB, free: 11.34 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