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.001104/0.001104, allocations: 116.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001197, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.06 kB / 306.6 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07218, allocations: 50.54 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00233/0.07454, allocations: 1.682 MB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.07528, allocations: 0.5454 MB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.07535, allocations: 7.938 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.776e-05/0.07541, allocations: 3.984 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.07549, allocations: 31.77 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.07567, allocations: 23.98 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.841e-05/0.07578, allocations: 99.53 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.07589, allocations: 31.97 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.07594, allocations: 43.86 kB / 359.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.07601, allocations: 31.86 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.07603, allocations: 8 kB / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.0761, allocations: 19.98 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.07612, allocations: 15.92 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.07617, allocations: 47.86 kB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.0763, allocations: 99.95 kB / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.07631, allocations: 0 / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07631, allocations: 0 / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.07632, allocations: 0 / 359.8 MB, free: 11.58 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.0003784/0.0767, allocations: 379.2 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.07674, allocations: 15.97 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.07679, allocations: 38.75 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.0769, allocations: 20.83 kB / 360.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.308e-05/0.077, allocations: 172.3 kB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.07702, allocations: 8.359 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.07705, allocations: 8.375 kB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.0772, allocations: 89.78 kB / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.07721, allocations: 0 / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.07723, allocations: 4 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.07724, allocations: 4 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.07734, allocations: 51.91 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.07789, allocations: 396.5 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.07801, allocations: 70.5 kB / 361 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.07807, allocations: 36.83 kB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.07809, allocations: 4 kB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.07811, allocations: 34.56 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.07812, allocations: 0 / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001719/0.07829, allocations: 93.47 kB / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.07832, allocations: 55.39 kB / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.07839, allocations: 101.9 kB / 361.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.07841, allocations: 25.7 kB / 361.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.07846, allocations: 108 kB / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.07848, allocations: 35.55 kB / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.07853, allocations: 29.66 kB / 361.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.07861, allocations: 318.8 kB / 361.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.07865, allocations: 16.25 kB / 361.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.0787, allocations: 50.06 kB / 361.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.407e-05/0.07879, allocations: 78.5 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.0788, allocations: 0 / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001294/0.07893, allocations: 105.5 kB / 362.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.07895, allocations: 4 kB / 362.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.07896, allocations: 0 / 362.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.07897, allocations: 7.938 kB / 362.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.07909, allocations: 27.98 kB / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.0791, allocations: 0 / 362.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.07916, allocations: 8.062 kB / 362.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.07917, allocations: 4 kB / 362.1 MB, free: 8.984 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 6.918e-05/0.07924, allocations: 134.8 kB / 362.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.07927, allocations: 3.906 kB / 362.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.0793, allocations: 20.3 kB / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.07931, allocations: 0 / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.07932, allocations: 0 / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.07932, allocations: 0 / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.07949, allocations: 181.6 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.0795, allocations: 4 kB / 362.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.07959, allocations: 16 kB / 362.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.0796, allocations: 4 kB / 362.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.07962, allocations: 11.88 kB / 362.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.07962, allocations: 0 / 362.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.07963, allocations: 3.984 kB / 362.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.0798, allocations: 191.4 kB / 362.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.07984, allocations: 85.12 kB / 362.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.07986, allocations: 7.984 kB / 362.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.07992, allocations: 8 kB / 362.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.07994, allocations: 4 kB / 362.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.07995, allocations: 0 / 362.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.07999, allocations: 91.27 kB / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07999, allocations: 0 / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.08021, allocations: 23.84 kB / 362.9 MB, free: 8.117 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.0003259/0.08054, allocations: 0.728 MB / 363.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.08067, allocations: 63.86 kB / 363.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.08068, allocations: 0 / 363.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.08072, allocations: 19.98 kB / 363.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.08097, allocations: 20.11 kB / 363.7 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.08217, allocations: 1.545 MB / 365.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.08236, allocations: 0.6963 MB / 366 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.0824, allocations: 11.94 kB / 366 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.08245, allocations: 19.44 kB / 366 MB, free: 4.867 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08245, allocations: 0 / 366 MB, free: 4.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/1.617, allocations: 1.688 MB / 367.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.617, allocations: 201.1 kB / 367.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/3.44, allocations: 0 / 367.9 MB, free: 3.031 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