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.0009316/0.0009315, allocations: 93.92 kB / 16.65 MB, free: 6.59 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.0009599/0.0009601, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.253/1.253, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.000262, allocations: 4 kB / 301.5 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.08928, allocations: 50.42 MB / 351.9 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001712/0.09103, allocations: 1.342 MB / 353.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.09192, allocations: 0.495 MB / 353.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.09199, allocations: 4 kB / 353.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.09203, allocations: 7.922 kB / 353.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/0.09212, allocations: 23.78 kB / 353.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.09231, allocations: 27.97 kB / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.09246, allocations: 99.47 kB / 353.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.0926, allocations: 31.95 kB / 354 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.09266, allocations: 31.88 kB / 354 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.09276, allocations: 35.84 kB / 354 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.09279, allocations: 8 kB / 354 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.09287, allocations: 8 kB / 354.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.09289, allocations: 15.98 kB / 354.1 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.09296, allocations: 69.48 kB / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.09312, allocations: 91.95 kB / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09314, allocations: 0 / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09314, allocations: 0 / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.09315, allocations: 0 / 354.2 MB, free: 1.055 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.0004528/0.09361, allocations: 371.2 kB / 354.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.09366, allocations: 12.03 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.09371, allocations: 42.73 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.09383, allocations: 4.938 kB / 354.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.09396, allocations: 184.2 kB / 354.8 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.09398, allocations: 8.375 kB / 354.8 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.09402, allocations: 12.36 kB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.09418, allocations: 84.72 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.0942, allocations: 4 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.09422, allocations: 0 / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.09423, allocations: 7.938 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.09435, allocations: 51.97 kB / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.095, allocations: 392.5 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.09514, allocations: 78.39 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.0952, allocations: 32.86 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.09522, allocations: 0 / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.09525, allocations: 42.55 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.09525, allocations: 0 / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002046/0.09546, allocations: 93.5 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.0955, allocations: 55.41 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.09558, allocations: 109.8 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.09561, allocations: 37.58 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.09567, allocations: 99.88 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.0957, allocations: 27.56 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.09573, allocations: 25.7 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.09585, allocations: 314.8 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.0959, allocations: 23.98 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.09596, allocations: 41.81 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.09606, allocations: 74.66 kB / 356.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09607, allocations: 4 kB / 356.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.09623, allocations: 105.5 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.09626, allocations: 7.984 kB / 356.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.09627, allocations: 0 / 356.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.09629, allocations: 7.938 kB / 356.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.09641, allocations: 20 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.09642, allocations: 0 / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.09649, allocations: 15.89 kB / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.0965, allocations: 4.062 kB / 356.6 MB, free: 14.46 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.188e-05/0.09659, allocations: 125.7 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.09662, allocations: 4 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.09666, allocations: 12.31 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.09667, allocations: 0 / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.09668, allocations: 0 / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.09669, allocations: 0 / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.09688, allocations: 193.5 kB / 356.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.09689, allocations: 0 / 356.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.09699, allocations: 19.98 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.097, allocations: 4 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.09702, allocations: 3.938 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.09702, allocations: 0 / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09703, allocations: 0 / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.09726, allocations: 195.4 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.09731, allocations: 81.14 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.09733, allocations: 3.938 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.0974, allocations: 8.062 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.09742, allocations: 7.969 kB / 357.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.09744, allocations: 8 kB / 357.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.09748, allocations: 87.47 kB / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09749, allocations: 0 / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.09775, allocations: 27.84 kB / 357.3 MB, free: 13.6 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.0004397/0.09819, allocations: 0.728 MB / 358.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.09833, allocations: 55.92 kB / 358.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.09834, allocations: 0 / 358.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.09838, allocations: 31.92 kB / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.0987, allocations: 4 kB / 358.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1003, allocations: 1.607 MB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1006, allocations: 0.6926 MB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1006, allocations: 7.984 kB / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1006, allocations: 19.44 kB / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1007, allocations: 0 / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.111, allocations: 1.555 MB / 362 MB, free: 8.871 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.1113, allocations: 196.2 kB / 362.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.677, allocations: 4 kB / 362.2 MB, free: 8.617 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