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.001755/0.001755, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001995/0.001995, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.473/1.473, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.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.001869/0.001869, allocations: 63.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1027, allocations: 53.31 MB / 427.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002862/0.1055, allocations: 1.655 MB / 429.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.1065, allocations: 0.5417 MB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.1065, allocations: 4 kB / 430 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.1066, allocations: 11.86 kB / 430 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.1066, allocations: 31.7 kB / 430 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1068, allocations: 31.97 kB / 430.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.107, allocations: 103.5 kB / 430.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1071, allocations: 23.98 kB / 430.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.1072, allocations: 31.92 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.466e-05/0.1073, allocations: 47.83 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1073, allocations: 8 kB / 430.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.1073, allocations: 15.94 kB / 430.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.1074, allocations: 19.98 kB / 430.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.1074, allocations: 43.8 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1076, allocations: 103.6 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1076, allocations: 0 / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1076, allocations: 0 / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1076, allocations: 0 / 430.5 MB, free: 1.852 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.0005166/0.1081, allocations: 375.2 kB / 430.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1082, allocations: 12.03 kB / 430.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.1083, allocations: 16.88 kB / 430.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1084, allocations: 180.2 kB / 431 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1085, allocations: 12.38 kB / 431 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1085, allocations: 8.375 kB / 431.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1087, allocations: 88.72 kB / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1087, allocations: 0 / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1087, allocations: 4 kB / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1087, allocations: 4 kB / 431.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1088, allocations: 51.97 kB / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.1095, allocations: 400.5 kB / 431.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1096, allocations: 66.5 kB / 431.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1097, allocations: 36.78 kB / 431.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1097, allocations: 0 / 431.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1097, allocations: 38.56 kB / 431.7 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1097, allocations: 4 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000212/0.11, allocations: 89.75 kB / 431.8 MB, free: 336 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.11, allocations: 59.33 kB / 431.9 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.1101, allocations: 102 kB / 432 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1101, allocations: 25.7 kB / 432 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1102, allocations: 107.9 kB / 432.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.1102, allocations: 31.81 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1103, allocations: 29.72 kB / 432.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1104, allocations: 322.8 kB / 432.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.1104, allocations: 20 kB / 432.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1105, allocations: 38.56 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1106, allocations: 70.5 kB / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1106, allocations: 4 kB / 432.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.1108, allocations: 109.5 kB / 432.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1108, allocations: 6.344 kB / 432.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1108, allocations: 4 kB / 432.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1108, allocations: 3.938 kB / 432.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1109, allocations: 23.98 kB / 432.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1109, allocations: 0 / 432.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.111, allocations: 4 kB / 432.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.111, allocations: 4 kB / 432.8 MB, free: 15.31 MB / 366.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.865e-05/0.1111, allocations: 125.8 kB / 432.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1111, allocations: 7.938 kB / 432.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1112, allocations: 16.36 kB / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1112, allocations: 3.938 kB / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1112, allocations: 0 / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1112, allocations: 0 / 432.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1114, allocations: 189.5 kB / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1114, allocations: 0 / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1115, allocations: 20.19 kB / 433.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1115, allocations: 4 kB / 433.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1115, allocations: 12 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1115, allocations: 3.938 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1115, allocations: 0 / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1117, allocations: 195.5 kB / 433.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.1118, allocations: 81.06 kB / 433.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1118, allocations: 8.031 kB / 433.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.1119, allocations: 7.922 kB / 433.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.1119, allocations: 4.062 kB / 433.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1119, allocations: 4 kB / 433.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.1119, allocations: 83.28 kB / 433.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1119, allocations: 0 / 433.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1122, allocations: 20 kB / 433.5 MB, free: 14.45 MB / 366.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.0001207/0.1123, allocations: 99.23 kB / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1124, allocations: 55.86 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1124, allocations: 128 / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.1125, allocations: 31.92 kB / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1128, allocations: 8 kB / 433.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.1134, allocations: 344 kB / 434.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1138, allocations: 0.7 MB / 434.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1138, allocations: 11.44 kB / 434.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1138, allocations: 0 / 434.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.002528/0.1163, allocations: 0.9615 MB / 435.7 MB, free: 12.18 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.831193184945732]