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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 58.59 kB / 306.3 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09339, allocations: 50.54 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003145/0.09658, allocations: 1.702 MB / 358.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.09771, allocations: 0.5494 MB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.09781, allocations: 4 kB / 359.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.09791, allocations: 7.922 kB / 359.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/0.09801, allocations: 23.83 kB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.09826, allocations: 23.92 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.0984, allocations: 91.53 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.09855, allocations: 35.97 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.09862, allocations: 27.94 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.09872, allocations: 39.84 kB / 359.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.09874, allocations: 4 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.09883, allocations: 12 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.09886, allocations: 23.91 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.09892, allocations: 39.8 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.0991, allocations: 103.9 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.09911, allocations: 0 / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09912, allocations: 0 / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09913, allocations: 4 kB / 359.6 MB, free: 11.48 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.0006077/0.09974, allocations: 383.3 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.0998, allocations: 8.031 kB / 359.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.252e-05/0.09989, allocations: 42.75 kB / 360 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1, allocations: 12.84 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1002, allocations: 168.3 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1002, allocations: 4.375 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1003, allocations: 12.38 kB / 360.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1004, allocations: 89.73 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1005, allocations: 0 / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1005, allocations: 11.97 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1005, allocations: 4 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1006, allocations: 47.97 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.1013, allocations: 400.4 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1014, allocations: 70.5 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1015, allocations: 32.84 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1015, allocations: 0 / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1015, allocations: 42.5 kB / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1015, allocations: 0 / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002346/0.1018, allocations: 93.75 kB / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1018, allocations: 55.41 kB / 361 MB, free: 9.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.1019, allocations: 105.8 kB / 361.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1019, allocations: 25.7 kB / 361.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.102, allocations: 103.9 kB / 361.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.102, allocations: 35.69 kB / 361.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1021, allocations: 21.72 kB / 361.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1022, allocations: 322.8 kB / 361.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.1023, allocations: 20 kB / 361.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.1023, allocations: 54.44 kB / 361.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.1024, allocations: 66.56 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1024, allocations: 0 / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001615/0.1026, allocations: 101.5 kB / 361.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1026, allocations: 12.06 kB / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1026, allocations: 0 / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1027, allocations: 3.938 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1028, allocations: 31.92 kB / 361.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1028, allocations: 0 / 361.9 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.1029, allocations: 4 kB / 361.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1029, allocations: 4 kB / 361.9 MB, free: 8.895 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 9.044e-05/0.103, allocations: 130.8 kB / 362 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.103, allocations: 12.16 kB / 362 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.1031, allocations: 16.3 kB / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1031, allocations: 0 / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1031, allocations: 8 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1031, allocations: 0 / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1033, allocations: 181.6 kB / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1033, allocations: 0 / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1034, allocations: 19.94 kB / 362.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1034, allocations: 0 / 362.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1035, allocations: 7.938 kB / 362.3 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1035, allocations: 4 kB / 362.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1035, allocations: 4 kB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1037, allocations: 191.4 kB / 362.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1038, allocations: 77.11 kB / 362.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1038, allocations: 7.875 kB / 362.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1038, allocations: 12.02 kB / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1039, allocations: 0 / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.1039, allocations: 7.938 kB / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.1039, allocations: 91.33 kB / 362.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1039, allocations: 0 / 362.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1042, allocations: 27.84 kB / 362.7 MB, free: 8.02 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 0.0004141/0.1046, allocations: 0.7124 MB / 363.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1047, allocations: 67.92 kB / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1048, allocations: 0 / 363.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.1048, allocations: 23.94 kB / 363.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1051, allocations: 15.97 kB / 363.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1065, allocations: 1.552 MB / 365.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1068, allocations: 0.6926 MB / 365.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.1068, allocations: 11.94 kB / 365.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1069, allocations: 19.44 kB / 365.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1069, allocations: 0 / 365.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.1241, allocations: 1.63 MB / 367.4 MB, free: 3.238 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.1243, allocations: 204 kB / 367.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.719, allocations: 0 / 367.6 MB, free: 2.977 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches