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.001626/0.001626, allocations: 108.2 kB / 17.17 MB, free: 6.32 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.001898/0.001898, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.403/1.403, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 51.2 kB / 300.6 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09932, allocations: 49.45 MB / 350.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003098/0.1025, allocations: 1.678 MB / 351.7 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.1034, allocations: 0.5182 MB / 352.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.1035, allocations: 0 / 352.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.569e-05/0.1036, allocations: 7.922 kB / 352.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.1037, allocations: 19.84 kB / 352.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1039, allocations: 27.91 kB / 352.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.1041, allocations: 95.59 kB / 352.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1043, allocations: 35.91 kB / 352.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.1043, allocations: 27.94 kB / 352.5 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.1044, allocations: 39.84 kB / 352.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1045, allocations: 7.938 kB / 352.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.814e-05/0.1046, allocations: 12 kB / 352.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.1046, allocations: 15.92 kB / 352.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1046, allocations: 47.84 kB / 352.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1048, allocations: 76.11 kB / 352.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1048, allocations: 0 / 352.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.1048, allocations: 3.984 kB / 352.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1048, allocations: 0 / 352.7 MB, free: 2.023 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.0005091/0.1053, allocations: 383.2 kB / 353 MB, free: 1.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1054, allocations: 12.03 kB / 353 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1055, allocations: 8.844 kB / 353.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1057, allocations: 180.2 kB / 353.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1057, allocations: 12.38 kB / 353.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.1057, allocations: 4.375 kB / 353.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1059, allocations: 85.98 kB / 353.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1059, allocations: 0 / 353.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1059, allocations: 7.984 kB / 353.3 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.106, allocations: 4 kB / 353.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1061, allocations: 55.91 kB / 353.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.1068, allocations: 396.4 kB / 353.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1069, allocations: 66.56 kB / 353.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.107, allocations: 36.84 kB / 353.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.107, allocations: 0 / 353.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1071, allocations: 30.56 kB / 353.9 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1071, allocations: 4 kB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002131/0.1073, allocations: 97.61 kB / 354 MB, free: 0.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1073, allocations: 51.41 kB / 354.1 MB, free: 448 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.1074, allocations: 105.8 kB / 354.2 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1074, allocations: 29.7 kB / 354.2 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1075, allocations: 103.9 kB / 354.3 MB, free: 188 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1075, allocations: 31.55 kB / 354.3 MB, free: 156 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.1076, allocations: 25.72 kB / 354.4 MB, free: 124 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1078, allocations: 326.8 kB / 354.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.1078, allocations: 20 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.1079, allocations: 42.56 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.108, allocations: 70.5 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.108, allocations: 3.938 kB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001792/0.1082, allocations: 105.6 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1082, allocations: 6.656 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1082, allocations: 0 / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1083, allocations: 7.938 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1084, allocations: 24.23 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1084, allocations: 7.875 kB / 355 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.1085, allocations: 11.91 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1085, allocations: 4 kB / 355 MB, free: 15.47 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 0.0001075/0.1086, allocations: 121.9 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1087, allocations: 7.906 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1087, allocations: 12.36 kB / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1087, allocations: 3.938 kB / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1087, allocations: 0 / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1087, allocations: 0 / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.109, allocations: 189.6 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.109, allocations: 4 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1091, allocations: 20 kB / 355.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1091, allocations: 3.938 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1091, allocations: 7.984 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1091, allocations: 3.938 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1091, allocations: 3.938 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1094, allocations: 187.4 kB / 355.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1094, allocations: 81.14 kB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1094, allocations: 4 kB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1095, allocations: 7.922 kB / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1095, allocations: 8.062 kB / 355.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1095, allocations: 0 / 355.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.498e-05/0.1096, allocations: 91.27 kB / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1096, allocations: 0 / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1098, allocations: 23.91 kB / 355.7 MB, free: 14.61 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.0001072/0.11, allocations: 107.1 kB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1101, allocations: 51.98 kB / 355.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1101, allocations: 4.125 kB / 355.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.1102, allocations: 31.91 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1106, allocations: 4 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.1115, allocations: 370.1 kB / 356.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1119, allocations: 0.6926 MB / 357 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.112, allocations: 11.44 kB / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.112, allocations: 0 / 357 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Templates: time 0.003549/0.1155, allocations: 0.9501 MB / 357.9 MB, free: 12.33 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/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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches