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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 80.3 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 158.6 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 61.12 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1061, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002814/0.1089, allocations: 1.611 MB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.1098, allocations: 0.5143 MB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.1099, allocations: 0 / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.1099, allocations: 15.86 kB / 381 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.11, allocations: 27.77 kB / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1102, allocations: 31.91 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1103, allocations: 99.47 kB / 381.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1104, allocations: 35.59 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.1105, allocations: 35.92 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.1106, allocations: 31.84 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1106, allocations: 8 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.1107, allocations: 16 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.1107, allocations: 19.92 kB / 381.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1107, allocations: 35.86 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1109, allocations: 99.61 kB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1109, allocations: 0 / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1109, allocations: 0 / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1109, allocations: 4 kB / 381.5 MB, free: 12.89 MB / 350.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.0004878/0.1114, allocations: 310.1 kB / 381.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1114, allocations: 15.98 kB / 381.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1116, allocations: 8.891 kB / 381.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1117, allocations: 118.4 kB / 381.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1117, allocations: 8.359 kB / 381.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1117, allocations: 8.375 kB / 381.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1119, allocations: 89.25 kB / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1119, allocations: 0 / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1119, allocations: 4 kB / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1119, allocations: 4 kB / 382 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.112, allocations: 51.97 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.1127, allocations: 336.1 kB / 382.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1128, allocations: 66.5 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1129, allocations: 32.84 kB / 382.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1129, allocations: 0 / 382.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1129, allocations: 42.5 kB / 382.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.1129, allocations: 0 / 382.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002006/0.1131, allocations: 77.69 kB / 382.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1131, allocations: 63.34 kB / 382.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.1132, allocations: 113.9 kB / 382.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1132, allocations: 25.7 kB / 382.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1133, allocations: 108.1 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1133, allocations: 31.73 kB / 382.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1134, allocations: 25.72 kB / 383 MB, free: 11.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1135, allocations: 318.8 kB / 383.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.1136, allocations: 16 kB / 383.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.1136, allocations: 46.56 kB / 383.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1138, allocations: 78.44 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1138, allocations: 256 / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000161/0.1139, allocations: 105.5 kB / 383.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1139, allocations: 4 kB / 383.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1139, allocations: 4 kB / 383.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.114, allocations: 4 kB / 383.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1141, allocations: 27.98 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1141, allocations: 3.938 kB / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1141, allocations: 11.89 kB / 383.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1141, allocations: 4.062 kB / 383.6 MB, free: 10.59 MB / 350.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 9.46e-05/0.1142, allocations: 121.8 kB / 383.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1143, allocations: 4 kB / 383.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.1143, allocations: 8.438 kB / 383.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1143, allocations: 4 kB / 383.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1143, allocations: 3.938 kB / 383.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1143, allocations: 3.984 kB / 383.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1145, allocations: 121.3 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1145, allocations: 0 / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1146, allocations: 16 kB / 383.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1146, allocations: 8 kB / 383.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1146, allocations: 7.984 kB / 383.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1146, allocations: 0 / 383.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1146, allocations: 0 / 383.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1148, allocations: 191.4 kB / 384.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.1148, allocations: 15.91 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1148, allocations: 4 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.1149, allocations: 0 / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1149, allocations: 7.938 kB / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1149, allocations: 0 / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.115, allocations: 87.27 kB / 384.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.115, allocations: 8.062 kB / 384.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1152, allocations: 19.94 kB / 384.2 MB, free: 9.906 MB / 350.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.0001131/0.1153, allocations: 99.25 kB / 384.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1155, allocations: 55.86 kB / 384.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1155, allocations: 4 kB / 384.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.1155, allocations: 23.92 kB / 384.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1158, allocations: 11.52 kB / 384.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.1164, allocations: 323.1 kB / 384.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.1164, allocations: 83.31 kB / 384.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.1165, allocations: 4 kB / 384.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.1165, allocations: 12.5 kB / 384.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1165, allocations: 0 / 384.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Templates: time 0.003009/0.1195, allocations: 0.5969 MB / 385.4 MB, free: 8.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.149994292063639]