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.001719/0.001719, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.00166/0.00166, allocations: 188.2 kB / 18.66 MB, free: 4.363 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.518/1.518, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001116/0.001116, allocations: 52.3 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003299/0.1081, allocations: 1.623 MB / 376.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.1089, allocations: 0.5158 MB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.109, allocations: 4 kB / 377.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.1091, allocations: 3.938 kB / 377.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.1092, allocations: 35.69 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1094, allocations: 27.95 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1095, allocations: 99.47 kB / 377.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1097, allocations: 35.98 kB / 377.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.1098, allocations: 35.94 kB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.1099, allocations: 39.83 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1099, allocations: 8 kB / 377.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.11, allocations: 16 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.11, allocations: 15.92 kB / 377.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1101, allocations: 47.8 kB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1102, allocations: 99.67 kB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1103, allocations: 0 / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1103, allocations: 4 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1103, allocations: 0 / 377.7 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.0005596/0.1108, allocations: 379.3 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1109, allocations: 12.03 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1111, allocations: 8.844 kB / 378.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1112, allocations: 176.3 kB / 378.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1112, allocations: 4.375 kB / 378.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1113, allocations: 12.31 kB / 378.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1115, allocations: 93.97 kB / 378.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1115, allocations: 0 / 378.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1115, allocations: 0 / 378.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1115, allocations: 7.984 kB / 378.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1116, allocations: 59.86 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.1123, allocations: 392.4 kB / 378.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1125, allocations: 82.48 kB / 378.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.1125, allocations: 28.86 kB / 379 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1125, allocations: 0 / 379 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1126, allocations: 38.55 kB / 379 MB, free: 0.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.1126, allocations: 0 / 379 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002195/0.1128, allocations: 93.7 kB / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1129, allocations: 51.41 kB / 379.1 MB, free: 392 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.1129, allocations: 109.8 kB / 379.2 MB, free: 272 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.113, allocations: 29.7 kB / 379.3 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.113, allocations: 103.8 kB / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1131, allocations: 27.56 kB / 379.4 MB, free: 100 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.1131, allocations: 29.7 kB / 379.4 MB, free: 64 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2143/0.3274, allocations: 314.8 kB / 379.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3276, allocations: 19.34 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.3277, allocations: 45.88 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3278, allocations: 66.48 kB / 379.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3279, allocations: 0 / 379.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.3281, allocations: 102 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3281, allocations: 9.875 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3282, allocations: 1.719 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.3282, allocations: 4.344 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3284, allocations: 28.61 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3284, allocations: 5.719 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.3285, allocations: 10.38 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3285, allocations: 2.625 kB / 380 MB, free: 12.7 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 0.0001355/0.3286, allocations: 118.7 kB / 380.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.3287, allocations: 4.281 kB / 380.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.3288, allocations: 11.25 kB / 380.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3288, allocations: 3.875 kB / 380.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.3288, allocations: 5.75 kB / 380.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3288, allocations: 0 / 380.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.329, allocations: 188 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.329, allocations: 0.6562 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3291, allocations: 25.27 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3292, allocations: 1.375 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3292, allocations: 6.406 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3292, allocations: 0.9844 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3292, allocations: 3.938 kB / 380.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.3294, allocations: 195.6 kB / 380.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.3295, allocations: 81.44 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3295, allocations: 1.344 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.3295, allocations: 2.875 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.3296, allocations: 13.44 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3296, allocations: 1.219 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.3296, allocations: 86 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 1.781 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3299, allocations: 27.78 kB / 380.8 MB, free: 12.09 MB / 318.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 9.419e-05/0.33, allocations: 97.67 kB / 380.9 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3302, allocations: 63.67 kB / 380.9 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3302, allocations: 1.781 kB / 380.9 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.3302, allocations: 20.58 kB / 381 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3306, allocations: 8.5 kB / 381 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.3312, allocations: 320.8 kB / 381.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3314, allocations: 0.7002 MB / 382 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.773e-05/0.3314, allocations: 8.156 kB / 382 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3315, allocations: 12.31 kB / 382 MB, free: 11.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3315, allocations: 0 / 382 MB, free: 11.09 MB / 318.1 MB Notification: Performance of Templates: time 0.003583/0.3351, allocations: 0.6377 MB / 382.6 MB, free: 11.04 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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