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.001537/0.001537, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001648/0.001648, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.438/1.438, allocations: 230.2 MB / 254.5 MB, free: 15.23 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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 63.91 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.0976, allocations: 53.32 MB / 426.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002757/0.1004, allocations: 1.649 MB / 428.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008836/0.1012, allocations: 0.5417 MB / 428.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.1013, allocations: 4 kB / 428.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.1014, allocations: 11.86 kB / 428.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.1014, allocations: 27.77 kB / 428.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1017, allocations: 31.91 kB / 428.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1018, allocations: 95.53 kB / 429 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1019, allocations: 31.97 kB / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.102, allocations: 31.92 kB / 429.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.1021, allocations: 43.78 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1021, allocations: 12 kB / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.1022, allocations: 15.94 kB / 429.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.1022, allocations: 16 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.1022, allocations: 47.78 kB / 429.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1024, allocations: 99.61 kB / 429.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1024, allocations: 3.938 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1024, allocations: 0 / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1024, allocations: 4 kB / 429.3 MB, free: 2.312 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.0005125/0.1029, allocations: 379.2 kB / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.103, allocations: 12.03 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.103, allocations: 38.75 kB / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1031, allocations: 16.88 kB / 429.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1033, allocations: 176.2 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1033, allocations: 8.375 kB / 429.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1033, allocations: 12.38 kB / 429.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1035, allocations: 88.53 kB / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1035, allocations: 0 / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1035, allocations: 4 kB / 430 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1035, allocations: 4 kB / 430 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1036, allocations: 55.91 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.1043, allocations: 396.5 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1044, allocations: 70.5 kB / 430.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1045, allocations: 32.84 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1045, allocations: 8 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1045, allocations: 30.56 kB / 430.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1045, allocations: 0 / 430.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002118/0.1047, allocations: 89.61 kB / 430.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1048, allocations: 51.41 kB / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.1048, allocations: 106 kB / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1049, allocations: 29.7 kB / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1049, allocations: 107.9 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.105, allocations: 35.88 kB / 431 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.105, allocations: 21.72 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1051, allocations: 322.8 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.1052, allocations: 23.98 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1053, allocations: 42.64 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.1054, allocations: 66.52 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1054, allocations: 4 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001569/0.1055, allocations: 105.5 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1055, allocations: 8 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1055, allocations: 3.938 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1055, allocations: 3.938 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1057, allocations: 24.23 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1057, allocations: 4 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.1057, allocations: 8.062 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1057, allocations: 8 kB / 431.7 MB, free: 15.71 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 8.249e-05/0.1058, allocations: 113.8 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1058, allocations: 19.81 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.1059, allocations: 12.31 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1059, allocations: 0 / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1059, allocations: 0 / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1059, allocations: 0 / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1061, allocations: 193.6 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1061, allocations: 4 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.1062, allocations: 16 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1062, allocations: 0 / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1062, allocations: 7.922 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1062, allocations: 0 / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1062, allocations: 0 / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1064, allocations: 199.4 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1065, allocations: 93.06 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1065, allocations: 3.938 kB / 432.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.401e-05/0.1065, allocations: 4.062 kB / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1065, allocations: 4 kB / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1065, allocations: 0 / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.172e-05/0.1066, allocations: 91.27 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1066, allocations: 3.938 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1068, allocations: 20 kB / 432.4 MB, free: 14.86 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.0004726/0.1073, allocations: 0.7242 MB / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1074, allocations: 52.39 kB / 433.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1074, allocations: 0 / 433.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.1075, allocations: 23.92 kB / 433.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1077, allocations: 8.156 kB / 433.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1093, allocations: 1.548 MB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1097, allocations: 0.6961 MB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.1097, allocations: 8 kB / 435.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.1097, allocations: 27.42 kB / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1097, allocations: 0 / 435.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.1357, allocations: 1.809 MB / 437.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.637, allocations: 7.984 kB / 437.3 MB, free: 9.895 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] 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: 10.093578068073839]