Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_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.0007466/0.0007463, allocations: 94.91 kB / 17.3 MB, free: 6.391 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.0008644/0.0008643, allocations: 174.8 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 12 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.07965, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001725/0.08141, allocations: 1.334 MB / 330.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.08258, allocations: 0.5123 MB / 330.9 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.08265, allocations: 0 / 330.9 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.146e-05/0.08271, allocations: 7.922 kB / 330.9 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.08282, allocations: 23.84 kB / 330.9 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.0831, allocations: 27.91 kB / 331 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.08326, allocations: 95.53 kB / 331.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.08345, allocations: 27.97 kB / 331.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.08351, allocations: 35.91 kB / 331.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.08363, allocations: 35.86 kB / 331.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.08366, allocations: 4 kB / 331.2 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.908e-05/0.08376, allocations: 11.94 kB / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.08379, allocations: 19.92 kB / 331.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.08388, allocations: 65.5 kB / 331.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.08406, allocations: 99.88 kB / 331.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.08408, allocations: 0 / 331.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.08409, allocations: 4 kB / 331.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.0841, allocations: 0 / 331.4 MB, free: 1.336 MB / 270.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.0005477/0.08466, allocations: 359.4 kB / 331.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.08472, allocations: 12.02 kB / 331.7 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.08478, allocations: 38.75 kB / 331.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.08493, allocations: 12.84 kB / 331.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.08509, allocations: 176.2 kB / 331.9 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.08512, allocations: 8.375 kB / 331.9 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.08515, allocations: 12.31 kB / 332 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.08535, allocations: 85.8 kB / 332 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.08538, allocations: 4 kB / 332 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.08539, allocations: 0 / 332 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.08541, allocations: 4 kB / 332.1 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.08553, allocations: 51.97 kB / 332.1 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.0862, allocations: 404.4 kB / 332.5 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.08635, allocations: 66.61 kB / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.08642, allocations: 36.8 kB / 332.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.08644, allocations: 11.94 kB / 332.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.08647, allocations: 30.72 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.08647, allocations: 0 / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001964/0.08668, allocations: 89.61 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.08671, allocations: 51.41 kB / 332.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.0868, allocations: 113.8 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.08682, allocations: 29.64 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.08687, allocations: 107.9 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.08691, allocations: 31.64 kB / 333.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.08694, allocations: 17.72 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.08704, allocations: 310.8 kB / 333.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.08708, allocations: 27.98 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.08714, allocations: 46.5 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.08724, allocations: 66.58 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.08725, allocations: 0 / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001409/0.0874, allocations: 105.5 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.08742, allocations: 8 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.08743, allocations: 7.922 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.08745, allocations: 3.938 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.08757, allocations: 27.92 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.08758, allocations: 0 / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.08765, allocations: 23.91 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.08766, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.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 7.823e-05/0.08775, allocations: 117.8 kB / 333.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.08778, allocations: 4 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.08781, allocations: 12.31 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.08782, allocations: 0 / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.08783, allocations: 4 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.08784, allocations: 7.922 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.08803, allocations: 189.5 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.08804, allocations: 4 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.724e-05/0.08814, allocations: 19.98 kB / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.08815, allocations: 0 / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.08816, allocations: 3.938 kB / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.08817, allocations: 4 kB / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.08818, allocations: 0 / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.08839, allocations: 187.5 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.08846, allocations: 81.27 kB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.08848, allocations: 8 kB / 334.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.444e-05/0.08855, allocations: 11.97 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.08858, allocations: 7.984 kB / 334.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.08859, allocations: 4 kB / 334.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.08863, allocations: 79.28 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08864, allocations: 0 / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.08887, allocations: 27.94 kB / 334.4 MB, free: 13.9 MB / 286.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.0004154/0.08929, allocations: 0.7241 MB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.08943, allocations: 59.86 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08944, allocations: 0 / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.08949, allocations: 28.41 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.08978, allocations: 7.984 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.09124, allocations: 1.592 MB / 336.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.09149, allocations: 0.7004 MB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.02e-05/0.09153, allocations: 7.953 kB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.09158, allocations: 19.44 kB / 337.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09159, allocations: 3.938 kB / 337.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.1032, allocations: 1.562 MB / 339.1 MB, free: 9.062 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1035, allocations: 195.9 kB / 339.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.774, allocations: 0 / 339.3 MB, free: 8.809 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches