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.001351/0.001352, allocations: 114.1 kB / 17.69 MB, free: 5.309 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.001577/0.001577, allocations: 187 kB / 18.63 MB, free: 4.379 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 47.7 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004274/0.1127, allocations: 1.619 MB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.114, allocations: 0.5156 MB / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1141, allocations: 0 / 353.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.1142, allocations: 11.92 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1144, allocations: 35.7 kB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1147, allocations: 27.97 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1149, allocations: 99.53 kB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1151, allocations: 35.91 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.1152, allocations: 35.92 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1153, allocations: 39.84 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1154, allocations: 8 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.1155, allocations: 12 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1155, allocations: 23.92 kB / 354 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.1156, allocations: 39.86 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1158, allocations: 103.7 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1158, allocations: 7.922 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1159, allocations: 0 / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1159, allocations: 4 kB / 354.1 MB, free: 1.066 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.0006222/0.1165, allocations: 379.2 kB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.1166, allocations: 8.031 kB / 354.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1168, allocations: 12.84 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1169, allocations: 180.2 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.117, allocations: 384 / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.117, allocations: 20.3 kB / 354.7 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1173, allocations: 89.94 kB / 354.8 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1173, allocations: 3.984 kB / 354.8 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1173, allocations: 4 kB / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1173, allocations: 0 / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1175, allocations: 47.97 kB / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.1185, allocations: 404.4 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1187, allocations: 70.5 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.1187, allocations: 32.84 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1188, allocations: 0 / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1188, allocations: 34.56 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1188, allocations: 4 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002999/0.1191, allocations: 93.47 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1192, allocations: 55.39 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1193, allocations: 101.9 kB / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1193, allocations: 25.7 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1194, allocations: 103.9 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1195, allocations: 35.69 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1195, allocations: 25.72 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1197, allocations: 322.8 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.1198, allocations: 16 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.1199, allocations: 48.56 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.12, allocations: 74.44 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.12, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.1203, allocations: 101.6 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1203, allocations: 4 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1203, allocations: 0 / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1204, allocations: 7.938 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1205, allocations: 27.98 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1206, allocations: 256 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.1206, allocations: 3.906 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1207, allocations: 8 kB / 356.4 MB, free: 14.53 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.0001089/0.1208, allocations: 129.8 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1208, allocations: 7.906 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.1209, allocations: 8.375 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1209, allocations: 7.922 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1209, allocations: 4 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1209, allocations: 0 / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1212, allocations: 185.5 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1212, allocations: 3.984 kB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1214, allocations: 16 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1214, allocations: 0 / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1214, allocations: 7.938 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1214, allocations: 7.938 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1214, allocations: 4 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1217, allocations: 195.4 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.1218, allocations: 77.11 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1218, allocations: 0 / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.1219, allocations: 7.938 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.122, allocations: 7.984 kB / 357.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.122, allocations: 4.062 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.76e-05/0.122, allocations: 87.28 kB / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1221, allocations: 0 / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000391/0.1225, allocations: 19.91 kB / 357.2 MB, free: 13.67 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.0001311/0.1226, allocations: 107.8 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1228, allocations: 55.92 kB / 357.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1228, allocations: 0 / 357.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1229, allocations: 23.94 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1233, allocations: 12.11 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.1243, allocations: 310.8 kB / 357.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.1246, allocations: 0.6885 MB / 358.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1247, allocations: 15.92 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1247, allocations: 11.44 kB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1247, allocations: 0 / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.003644/0.1284, allocations: 0.6231 MB / 359 MB, free: 11.77 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 -s cvode -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