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.001712/0.001712, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.5 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002862/0.1152, allocations: 1.628 MB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.1161, allocations: 0.5609 MB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.1162, allocations: 0 / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.277e-05/0.1163, allocations: 15.86 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.1163, allocations: 23.78 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1165, allocations: 31.89 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1167, allocations: 91.61 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1168, allocations: 31.98 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.1169, allocations: 39.84 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.117, allocations: 43.84 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.117, allocations: 8 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.1171, allocations: 12 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.1171, allocations: 23.92 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.1172, allocations: 39.86 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1173, allocations: 99.95 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1173, allocations: 0 / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1173, allocations: 0 / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1173, allocations: 4 kB / 360.2 MB, free: 11.41 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.000501/0.1179, allocations: 383.2 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1179, allocations: 11.97 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.118, allocations: 20.77 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1182, allocations: 172.3 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1182, allocations: 8.375 kB / 360.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.1182, allocations: 12.38 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1184, allocations: 85.97 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1184, allocations: 0 / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1185, allocations: 4 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1185, allocations: 3.938 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1186, allocations: 54.38 kB / 360.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.1193, allocations: 400.4 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1195, allocations: 66.56 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1196, allocations: 37 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.1196, allocations: 3.984 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1196, allocations: 34.56 kB / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1196, allocations: 0 / 361.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002129/0.1198, allocations: 97.45 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1199, allocations: 51.41 kB / 361.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.12, allocations: 105.9 kB / 361.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.12, allocations: 29.69 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.1201, allocations: 99.89 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1201, allocations: 31.55 kB / 361.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1202, allocations: 21.72 kB / 361.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1203, allocations: 326.8 kB / 362.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.1204, allocations: 16 kB / 362.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.1204, allocations: 42.56 kB / 362.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1205, allocations: 70.5 kB / 362.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1205, allocations: 0 / 362.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.1207, allocations: 109.6 kB / 362.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1207, allocations: 4 kB / 362.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1207, allocations: 0 / 362.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1208, allocations: 7.938 kB / 362.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1209, allocations: 23.98 kB / 362.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1209, allocations: 3.938 kB / 362.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.121, allocations: 11.91 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.121, allocations: 256 / 362.5 MB, free: 8.867 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.861e-05/0.1211, allocations: 117.9 kB / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1211, allocations: 7.906 kB / 362.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.1211, allocations: 12.36 kB / 362.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1211, allocations: 11.94 kB / 362.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1212, allocations: 0 / 362.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1212, allocations: 3.938 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1214, allocations: 193.6 kB / 362.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1214, allocations: 0 / 362.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1215, allocations: 19.98 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1215, allocations: 0 / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1215, allocations: 8 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1215, allocations: 11.81 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1215, allocations: 0 / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1218, allocations: 195.7 kB / 363 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.1218, allocations: 77.11 kB / 363.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1218, allocations: 8.016 kB / 363.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.1219, allocations: 3.938 kB / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1219, allocations: 0 / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1219, allocations: 8.062 kB / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.122, allocations: 87.27 kB / 363.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 363.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1222, allocations: 27.91 kB / 363.2 MB, free: 7.996 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.445e-05/0.1223, allocations: 95.19 kB / 363.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1225, allocations: 67.95 kB / 363.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1225, allocations: 0 / 363.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.1226, allocations: 24.11 kB / 363.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1228, allocations: 12 kB / 363.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.1234, allocations: 314.7 kB / 363.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1238, allocations: 0.6895 MB / 364.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.1238, allocations: 11.94 kB / 364.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1238, allocations: 11.44 kB / 364.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1238, allocations: 0 / 364.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Templates: time 0.003038/0.1269, allocations: 0.6273 MB / 365.1 MB, free: 6.094 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches