Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001359/0.001359, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001177/0.001177, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 51.92 kB / 282.1 MB, free: 2.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.113, allocations: 46.63 MB / 328.7 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.004262/0.1174, allocations: 1.619 MB / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1187, allocations: 0.516 MB / 330.9 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.1188, allocations: 4 kB / 330.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.085e-05/0.1189, allocations: 15.86 kB / 330.9 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.119, allocations: 27.72 kB / 330.9 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1193, allocations: 27.95 kB / 330.9 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1195, allocations: 103.5 kB / 331 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1197, allocations: 35.97 kB / 331.1 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.1198, allocations: 35.86 kB / 331.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1199, allocations: 39.84 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.12, allocations: 12 kB / 331.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.1201, allocations: 8 kB / 331.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.1201, allocations: 15.98 kB / 331.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/0.1202, allocations: 47.8 kB / 331.2 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1204, allocations: 99.67 kB / 331.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.1205, allocations: 8 kB / 331.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1205, allocations: 0 / 331.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1205, allocations: 0 / 331.3 MB, free: 1.16 MB / 270.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.0005955/0.1211, allocations: 379.3 kB / 331.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1212, allocations: 8.031 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1213, allocations: 12.84 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1215, allocations: 184.1 kB / 331.9 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1216, allocations: 12.38 kB / 331.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1216, allocations: 4.375 kB / 331.9 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1218, allocations: 89.92 kB / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1219, allocations: 0 / 332 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1219, allocations: 4 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1219, allocations: 4 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1221, allocations: 55.91 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.123, allocations: 404.4 kB / 332.5 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1232, allocations: 70.5 kB / 332.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.1233, allocations: 32.84 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1233, allocations: 0 / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1234, allocations: 34.56 kB / 332.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1234, allocations: 0 / 332.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.1237, allocations: 93.56 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1237, allocations: 51.41 kB / 332.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1239, allocations: 109.8 kB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1239, allocations: 25.7 kB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.124, allocations: 107.9 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.1241, allocations: 35.69 kB / 333 MB, free: 15.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.1241, allocations: 25.72 kB / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1243, allocations: 318.8 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.1244, allocations: 24 kB / 333.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.1244, allocations: 42.56 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1246, allocations: 74.44 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1246, allocations: 0 / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002517/0.1249, allocations: 105.6 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1249, allocations: 8.062 kB / 333.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1249, allocations: 0 / 333.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.125, allocations: 7.938 kB / 333.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.1251, allocations: 23.98 kB / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1252, allocations: 0 / 333.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1252, allocations: 7.906 kB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1253, allocations: 0 / 333.6 MB, free: 14.61 MB / 286.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.0001146/0.1254, allocations: 125.7 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1254, allocations: 4 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1255, allocations: 12.38 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1255, allocations: 7.938 kB / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1255, allocations: 0 / 333.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1255, allocations: 3.984 kB / 333.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1258, allocations: 181.6 kB / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1259, allocations: 0 / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.126, allocations: 19.98 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.126, allocations: 0 / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1261, allocations: 4 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.1261, allocations: 8.188 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1261, allocations: 4 kB / 334 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1264, allocations: 195.5 kB / 334.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1265, allocations: 85 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1265, allocations: 4 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1266, allocations: 11.91 kB / 334.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.1267, allocations: 3.984 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1267, allocations: 4 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1267, allocations: 83.28 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1268, allocations: 4.062 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004545/0.1272, allocations: 19.94 kB / 334.4 MB, free: 13.75 MB / 286.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.0001365/0.1274, allocations: 107.2 kB / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1276, allocations: 51.92 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1276, allocations: 0 / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.1277, allocations: 27.94 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.1281, allocations: 7.984 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.1289, allocations: 318.8 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1293, allocations: 0.6962 MB / 335.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.1293, allocations: 11.95 kB / 335.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1294, allocations: 11.44 kB / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1294, allocations: 0 / 335.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of Templates: time 0.003909/0.1333, allocations: 0.6341 MB / 336.3 MB, free: 11.84 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches