Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009456/0.0009456, allocations: 96.86 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 206.4 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 8 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09735/0.09762, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001703/0.09936, allocations: 1.348 MB / 361.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000837/0.1002, allocations: 0.5494 MB / 361.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.1003, allocations: 3.938 kB / 361.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1003, allocations: 7.922 kB / 361.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.1004, allocations: 31.77 kB / 361.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1006, allocations: 19.98 kB / 361.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1007, allocations: 91.59 kB / 361.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1009, allocations: 31.95 kB / 362 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.1009, allocations: 31.81 kB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.308e-05/0.101, allocations: 39.84 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.101, allocations: 4 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.1011, allocations: 16 kB / 362.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.1012, allocations: 11.92 kB / 362.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1012, allocations: 65.56 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1014, allocations: 68.08 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1014, allocations: 0 / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1014, allocations: 4 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1014, allocations: 0 / 362.2 MB, free: 10.98 MB / 302.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.0004224/0.1018, allocations: 375.3 kB / 362.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1019, allocations: 12.03 kB / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.102, allocations: 8.938 kB / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1021, allocations: 172.2 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1021, allocations: 12.31 kB / 362.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.1022, allocations: 8.375 kB / 362.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1024, allocations: 88.55 kB / 362.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1024, allocations: 0 / 362.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1024, allocations: 8 kB / 362.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1024, allocations: 0 / 362.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1025, allocations: 47.97 kB / 362.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.1032, allocations: 408.4 kB / 363.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1033, allocations: 74.53 kB / 363.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.1034, allocations: 32.8 kB / 363.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.1034, allocations: 4 kB / 363.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1035, allocations: 34.56 kB / 363.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1035, allocations: 0 / 363.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002107/0.1037, allocations: 93.52 kB / 363.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1037, allocations: 55.34 kB / 363.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.1038, allocations: 105.8 kB / 363.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1039, allocations: 25.7 kB / 363.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.1039, allocations: 107.9 kB / 363.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.104, allocations: 27.56 kB / 363.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.104, allocations: 21.7 kB / 363.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1041, allocations: 314.8 kB / 364.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.1042, allocations: 27.92 kB / 364.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1042, allocations: 42.56 kB / 364.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1044, allocations: 70.52 kB / 364.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1044, allocations: 0 / 364.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000148/0.1045, allocations: 105.6 kB / 364.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1045, allocations: 4 kB / 364.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1046, allocations: 0 / 364.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1046, allocations: 7.922 kB / 364.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1047, allocations: 23.94 kB / 364.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1047, allocations: 4 kB / 364.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.1048, allocations: 15.95 kB / 364.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1048, allocations: 4 kB / 364.5 MB, free: 8.449 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 8.993e-05/0.1049, allocations: 121.8 kB / 364.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1049, allocations: 0 / 364.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.105, allocations: 8.375 kB / 364.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.105, allocations: 11.88 kB / 364.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.105, allocations: 0 / 364.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.105, allocations: 3.984 kB / 364.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.1052, allocations: 193.6 kB / 364.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1052, allocations: 4 kB / 364.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1053, allocations: 19.98 kB / 364.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1053, allocations: 0 / 364.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1053, allocations: 8 kB / 364.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1053, allocations: 3.938 kB / 364.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1053, allocations: 0 / 364.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1055, allocations: 195.7 kB / 365.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1056, allocations: 81.05 kB / 365.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1056, allocations: 12.09 kB / 365.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.1057, allocations: 4.188 kB / 365.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.1057, allocations: 7.984 kB / 365.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.1057, allocations: 4 kB / 365.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.1058, allocations: 83.28 kB / 365.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1058, allocations: 0 / 365.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.106, allocations: 27.84 kB / 365.3 MB, free: 7.582 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 0.0001067/0.1061, allocations: 103.2 kB / 365.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1062, allocations: 59.91 kB / 365.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1063, allocations: 0 / 365.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.1063, allocations: 27.98 kB / 365.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.1066, allocations: 4 kB / 365.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.1072, allocations: 410.9 kB / 365.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1075, allocations: 0.6898 MB / 366.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.1075, allocations: 11.44 kB / 366.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1075, allocations: 0 / 366.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of Templates: time 0.002141/0.1097, allocations: 0.9496 MB / 367.5 MB, free: 5.266 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches