Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 99.67 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 195.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009445/0.0009446, allocations: 43.61 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08377, allocations: 49.46 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002715/0.08652, allocations: 1.678 MB / 351.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.08745, allocations: 0.5143 MB / 351.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.08753, allocations: 4 kB / 351.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.08763, allocations: 3.984 kB / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.08772, allocations: 23.78 kB / 351.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.08793, allocations: 23.97 kB / 351.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.08807, allocations: 99.47 kB / 351.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.08821, allocations: 27.98 kB / 351.9 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.08827, allocations: 35.86 kB / 351.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.08837, allocations: 39.84 kB / 352 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.08839, allocations: 8 kB / 352 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.08849, allocations: 12 kB / 352 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.08851, allocations: 15.98 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.08858, allocations: 43.8 kB / 352 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.08873, allocations: 91.95 kB / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.08874, allocations: 0 / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08876, allocations: 4 kB / 352.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.08876, allocations: 0 / 352.1 MB, free: 2.094 MB / 286.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.0004897/0.08926, allocations: 391.3 kB / 352.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.0893, allocations: 8.031 kB / 352.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.08935, allocations: 42.69 kB / 352.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.08947, allocations: 8.844 kB / 352.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.08961, allocations: 176.2 kB / 352.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.08963, allocations: 8.375 kB / 352.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.08967, allocations: 8.375 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.08984, allocations: 89.75 kB / 352.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.08986, allocations: 0 / 352.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.08987, allocations: 7.938 kB / 352.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.08988, allocations: 4 kB / 352.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.09, allocations: 55.91 kB / 352.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.09064, allocations: 404.4 kB / 353.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.09077, allocations: 66.56 kB / 353.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.09083, allocations: 37 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.09085, allocations: 4 kB / 353.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.09088, allocations: 38.55 kB / 353.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.09088, allocations: 0 / 353.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002088/0.0911, allocations: 93.47 kB / 353.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.09114, allocations: 51.41 kB / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.09122, allocations: 105.8 kB / 353.7 MB, free: 336 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.09125, allocations: 29.7 kB / 353.7 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.09131, allocations: 99.88 kB / 353.8 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.09134, allocations: 31.55 kB / 353.9 MB, free: 164 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.0914, allocations: 25.72 kB / 353.9 MB, free: 132 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.09153, allocations: 322.8 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.09158, allocations: 24 kB / 354.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.09165, allocations: 38.56 kB / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.09175, allocations: 70.45 kB / 354.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.09176, allocations: 3.984 kB / 354.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.09192, allocations: 109.6 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.09194, allocations: 4 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.09195, allocations: 4 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.09197, allocations: 3.938 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.0921, allocations: 23.98 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.09211, allocations: 3.938 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.09218, allocations: 7.906 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.09219, allocations: 4 kB / 354.5 MB, free: 15.49 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.033e-05/0.09228, allocations: 125.8 kB / 354.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.09232, allocations: 7.906 kB / 354.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.09236, allocations: 12.31 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.09237, allocations: 3.984 kB / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.09238, allocations: 0 / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.09238, allocations: 0 / 354.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.09259, allocations: 189.6 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0926, allocations: 0 / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-05/0.09271, allocations: 19.98 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.09272, allocations: 0 / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.09273, allocations: 7.938 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.09274, allocations: 4 kB / 354.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.09275, allocations: 4.188 kB / 354.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.09296, allocations: 187.8 kB / 355 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.09301, allocations: 81.14 kB / 355.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.09304, allocations: 11.94 kB / 355.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.09311, allocations: 7.984 kB / 355.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.09313, allocations: 0 / 355.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.09314, allocations: 12 kB / 355.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.0932, allocations: 87.27 kB / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0932, allocations: 0 / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.09344, allocations: 27.84 kB / 355.3 MB, free: 14.62 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.0004344/0.09388, allocations: 0.732 MB / 356 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.09401, allocations: 63.92 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09402, allocations: 0 / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.09406, allocations: 20 kB / 356.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.09433, allocations: 11.98 kB / 356.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.09578, allocations: 1.556 MB / 357.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.09606, allocations: 0.6926 MB / 358.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.0961, allocations: 4 kB / 358.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.09615, allocations: 23.42 kB / 358.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09616, allocations: 0 / 358.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009914/0.1061, allocations: 1.628 MB / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1063, allocations: 203.4 kB / 360.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.778, allocations: 0 / 360.2 MB, free: 9.578 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches