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.0007916/0.0007917, allocations: 88.22 kB / 16.65 MB, free: 6.535 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.0008646/0.0008643, allocations: 175.2 kB / 17.56 MB, free: 6.18 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.348/1.348, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002541, allocations: 5.281 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09466, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001817/0.09652, allocations: 1.334 MB / 353.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000831/0.09737, allocations: 0.5143 MB / 353.7 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.09743, allocations: 4 kB / 353.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.09746, allocations: 7.922 kB / 353.7 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.09754, allocations: 19.84 kB / 353.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.09775, allocations: 27.91 kB / 353.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.09788, allocations: 95.53 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.09802, allocations: 31.97 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.09808, allocations: 35.86 kB / 353.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.109e-05/0.09818, allocations: 31.84 kB / 353.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.0982, allocations: 8 kB / 353.9 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.09828, allocations: 8 kB / 353.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.09831, allocations: 11.98 kB / 353.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.09838, allocations: 65.52 kB / 354 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.09853, allocations: 95.92 kB / 354.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09854, allocations: 4 kB / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09855, allocations: 0 / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09856, allocations: 3.938 kB / 354.1 MB, free: 1.398 MB / 286.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.0004484/0.09902, allocations: 367.4 kB / 354.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.09907, allocations: 8.031 kB / 354.5 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.0992, allocations: 12.84 kB / 354.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.09932, allocations: 172.2 kB / 354.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.09935, allocations: 4.375 kB / 354.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.09938, allocations: 16.38 kB / 354.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.09956, allocations: 92.62 kB / 354.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.09957, allocations: 0 / 354.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.09959, allocations: 4 kB / 354.8 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.0996, allocations: 4 kB / 354.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.09973, allocations: 47.97 kB / 354.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.1004, allocations: 412.3 kB / 355.2 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1005, allocations: 70.55 kB / 355.3 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1006, allocations: 32.83 kB / 355.3 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.1006, allocations: 4 kB / 355.3 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1006, allocations: 34.56 kB / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1006, allocations: 4 kB / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.1009, allocations: 93.7 kB / 355.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1009, allocations: 51.41 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.101, allocations: 113.8 kB / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.101, allocations: 25.7 kB / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1011, allocations: 107.8 kB / 355.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1011, allocations: 31.55 kB / 355.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1012, allocations: 17.72 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1013, allocations: 314.8 kB / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1013, allocations: 27.98 kB / 356.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1014, allocations: 46.56 kB / 356.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.122e-05/0.1015, allocations: 62.52 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1015, allocations: 4 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001585/0.1017, allocations: 109.5 kB / 356.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1017, allocations: 8 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1017, allocations: 0 / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1017, allocations: 3.938 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1019, allocations: 31.92 kB / 356.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1019, allocations: 4 kB / 356.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.1019, allocations: 7.906 kB / 356.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1019, allocations: 0 / 356.4 MB, free: 14.86 MB / 302.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.499e-05/0.102, allocations: 121.9 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1021, allocations: 4 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.1021, allocations: 8.375 kB / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1021, allocations: 7.938 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1021, allocations: 0 / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1021, allocations: 3.984 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1023, allocations: 189.5 kB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1023, allocations: 0 / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.1024, allocations: 23.92 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1024, allocations: 0 / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1024, allocations: 4 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1024, allocations: 11.94 kB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1024, allocations: 0 / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1026, allocations: 183.5 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1027, allocations: 81.02 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1027, allocations: 0 / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.1028, allocations: 11.97 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1028, allocations: 7.984 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1028, allocations: 4.062 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.1029, allocations: 83.53 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.724e-06/0.1029, allocations: 0 / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1031, allocations: 23.94 kB / 357.2 MB, free: 14.01 MB / 302.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.621e-05/0.1032, allocations: 111 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.1033, allocations: 51.98 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1034, allocations: 7.875 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.1034, allocations: 24.11 kB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1037, allocations: 15.98 kB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.1043, allocations: 389 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1046, allocations: 0.6965 MB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.1046, allocations: 4 kB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.1046, allocations: 11.44 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1046, allocations: 0 / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Templates: time 0.002634/0.1073, allocations: 0.5894 MB / 359 MB, free: 12.07 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/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