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.001361/0.001361, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001291/0.001291, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.322/1.322, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009991/0.0009992, allocations: 51.36 kB / 300.6 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.0955, allocations: 49.44 MB / 350 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003016/0.09855, allocations: 1.627 MB / 351.7 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.09951, allocations: 0.5157 MB / 352.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.09959, allocations: 4 kB / 352.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.09965, allocations: 11.86 kB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.09975, allocations: 23.78 kB / 352.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.09998, allocations: 31.89 kB / 352.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1001, allocations: 103.5 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1003, allocations: 43.95 kB / 352.4 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1003, allocations: 35.86 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.1004, allocations: 39.84 kB / 352.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1005, allocations: 8 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.1005, allocations: 12 kB / 352.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1006, allocations: 11.98 kB / 352.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.1006, allocations: 51.8 kB / 352.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1008, allocations: 91.97 kB / 352.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1008, allocations: 0 / 352.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1008, allocations: 4 kB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1008, allocations: 0 / 352.6 MB, free: 1.82 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.0004762/0.1013, allocations: 387.2 kB / 353 MB, free: 1.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1014, allocations: 12.03 kB / 353 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.1015, allocations: 8.844 kB / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1017, allocations: 180.2 kB / 353.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1017, allocations: 4.375 kB / 353.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1017, allocations: 8.375 kB / 353.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1019, allocations: 93.94 kB / 353.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.102, allocations: 0 / 353.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.102, allocations: 4 kB / 353.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.102, allocations: 4 kB / 353.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1021, allocations: 59.78 kB / 353.4 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1029, allocations: 404.4 kB / 353.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.103, allocations: 66.56 kB / 353.9 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1031, allocations: 32.84 kB / 353.9 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1031, allocations: 4 kB / 353.9 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1031, allocations: 34.56 kB / 353.9 MB, free: 392 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.1031, allocations: 0 / 353.9 MB, free: 392 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002216/0.1034, allocations: 93.47 kB / 354 MB, free: 292 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1034, allocations: 55.41 kB / 354.1 MB, free: 224 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.1035, allocations: 105.8 kB / 354.2 MB, free: 108 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1035, allocations: 25.7 kB / 354.2 MB, free: 76 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1036, allocations: 103.9 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1036, allocations: 31.7 kB / 354.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1037, allocations: 25.72 kB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.1038, allocations: 318.8 kB / 354.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.1038, allocations: 20 kB / 354.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.1039, allocations: 46.56 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.104, allocations: 70.48 kB / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.104, allocations: 0 / 354.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001459/0.1042, allocations: 101.6 kB / 354.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1042, allocations: 12.06 kB / 354.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1042, allocations: 0 / 354.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1042, allocations: 3.938 kB / 354.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1044, allocations: 27.98 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1044, allocations: 3.938 kB / 354.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1044, allocations: 8.156 kB / 355 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1044, allocations: 8 kB / 355 MB, free: 15.27 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.378e-05/0.1045, allocations: 117.8 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1046, allocations: 7.906 kB / 355.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.1046, allocations: 16.36 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1046, allocations: 3.938 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1046, allocations: 0 / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1046, allocations: 3.984 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.1048, allocations: 181.6 kB / 355.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1048, allocations: 4 kB / 355.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1049, allocations: 19.98 kB / 355.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1049, allocations: 0 / 355.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.105, allocations: 4 kB / 355.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.105, allocations: 7.875 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.105, allocations: 4 kB / 355.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1052, allocations: 195.4 kB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.1052, allocations: 81.14 kB / 355.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1052, allocations: 0 / 355.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.1053, allocations: 7.938 kB / 355.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1053, allocations: 7.984 kB / 355.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1053, allocations: 0 / 355.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.1054, allocations: 83.34 kB / 355.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1054, allocations: 7.938 kB / 355.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1056, allocations: 23.91 kB / 355.7 MB, free: 14.41 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.174e-05/0.1057, allocations: 111.6 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1059, allocations: 51.92 kB / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1059, allocations: 4 kB / 355.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.1059, allocations: 20.39 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1062, allocations: 8.266 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.1068, allocations: 322.7 kB / 356.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.107, allocations: 0.7002 MB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1071, allocations: 4 kB / 356.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1071, allocations: 11.44 kB / 356.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1071, allocations: 0 / 356.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.002638/0.1098, allocations: 0.6157 MB / 357.6 MB, free: 12.51 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