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.0006814/0.0006814, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007786/0.0007786, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001974/0.0001974, allocations: 8.281 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08632, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001529/0.08788, allocations: 1.343 MB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.08863, allocations: 0.5455 MB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.08868, allocations: 4 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.08871, allocations: 7.922 kB / 361.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.08878, allocations: 23.78 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.08896, allocations: 23.97 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.08908, allocations: 95.53 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.0892, allocations: 27.98 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.08925, allocations: 35.86 kB / 361.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.08934, allocations: 35.84 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.08936, allocations: 8 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.08943, allocations: 8 kB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.08946, allocations: 11.92 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.08952, allocations: 61.58 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.08966, allocations: 99.86 kB / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.08967, allocations: 0 / 361.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08968, allocations: 4 kB / 361.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.08969, allocations: 0 / 361.7 MB, free: 10.85 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.000415/0.09011, allocations: 371.3 kB / 362 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.09016, allocations: 11.97 kB / 362.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.09021, allocations: 42.73 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.09032, allocations: 8.844 kB / 362.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.09044, allocations: 172.3 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.09046, allocations: 12.36 kB / 362.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.09049, allocations: 12.38 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.09066, allocations: 88.02 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.09068, allocations: 0 / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09069, allocations: 4 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.09071, allocations: 4 kB / 362.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.09082, allocations: 51.97 kB / 362.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.09143, allocations: 396.4 kB / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.09156, allocations: 74.48 kB / 362.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.09163, allocations: 41 kB / 362.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.09164, allocations: 7.984 kB / 363 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.09167, allocations: 30.56 kB / 363 MB, free: 9.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.09167, allocations: 4 kB / 363 MB, free: 9.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002128/0.09189, allocations: 93.45 kB / 363.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.09193, allocations: 55.41 kB / 363.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.09201, allocations: 105.8 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.09204, allocations: 29.7 kB / 363.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.0921, allocations: 99.89 kB / 363.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.09213, allocations: 31.55 kB / 363.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.09216, allocations: 9.719 kB / 363.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.09229, allocations: 326.8 kB / 363.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.09234, allocations: 23.98 kB / 363.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.0924, allocations: 42.56 kB / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.806e-05/0.09249, allocations: 62.52 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.0925, allocations: 0 / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001498/0.09265, allocations: 109.6 kB / 364 MB, free: 8.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.09267, allocations: 4 kB / 364 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.09268, allocations: 4 kB / 364 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.0927, allocations: 3.938 kB / 364 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.09281, allocations: 23.98 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.09283, allocations: 0 / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.09288, allocations: 11.91 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.0929, allocations: 7.984 kB / 364 MB, free: 8.277 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 8.907e-05/0.09299, allocations: 134.8 kB / 364.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.09303, allocations: 7.906 kB / 364.1 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.09306, allocations: 12.31 kB / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.09307, allocations: 0 / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.09308, allocations: 0 / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09308, allocations: 4 kB / 364.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.09327, allocations: 189.6 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.09328, allocations: 0 / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.09337, allocations: 19.98 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.09338, allocations: 0 / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.0934, allocations: 11.88 kB / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0934, allocations: 0 / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.09341, allocations: 4 kB / 364.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.09359, allocations: 199.4 kB / 364.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.09364, allocations: 81.09 kB / 364.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.09366, allocations: 3.938 kB / 364.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.09372, allocations: 4 kB / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.09374, allocations: 320 / 364.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.09375, allocations: 15.98 kB / 364.7 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.0938, allocations: 83.28 kB / 364.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09381, allocations: 0 / 364.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.09404, allocations: 31.84 kB / 364.8 MB, free: 7.398 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.0003744/0.09441, allocations: 0.7203 MB / 365.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.09453, allocations: 59.86 kB / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09454, allocations: 0 / 365.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.09458, allocations: 27.98 kB / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.09482, allocations: 0 / 365.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.09616, allocations: 1.607 MB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.09642, allocations: 0.6887 MB / 367.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.09646, allocations: 15.94 kB / 367.9 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.0965, allocations: 19.44 kB / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09651, allocations: 0 / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.107, allocations: 1.561 MB / 369.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1072, allocations: 200.3 kB / 369.7 MB, free: 2.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.737, allocations: 0 / 369.7 MB, free: 2.418 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