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.001335/0.001334, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 60.91 kB / 307.1 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08511, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002958/0.0881, allocations: 1.629 MB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.08911, allocations: 0.5493 MB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.08919, allocations: 4 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/0.08927, allocations: 7.875 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.08935, allocations: 35.7 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.08956, allocations: 27.95 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.08969, allocations: 95.55 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.08983, allocations: 35.97 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.08988, allocations: 43.84 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.08997, allocations: 35.84 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.08999, allocations: 8 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.09007, allocations: 20 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.0901, allocations: 15.92 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.09015, allocations: 39.88 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.09029, allocations: 99.95 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.0903, allocations: 0 / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.09031, allocations: 3.984 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.09032, allocations: 3.938 kB / 360.2 MB, free: 11.35 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.0004646/0.09079, allocations: 379.2 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.09084, allocations: 16.03 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.09089, allocations: 46.73 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.09102, allocations: 8.844 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.09115, allocations: 172.3 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.09117, allocations: 8.375 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.0912, allocations: 4.375 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.09137, allocations: 92.19 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.09139, allocations: 0 / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.09141, allocations: 4 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.09142, allocations: 4 kB / 360.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.09154, allocations: 55.97 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.09218, allocations: 392.4 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.09231, allocations: 78.47 kB / 361.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.09237, allocations: 36.84 kB / 361.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.09238, allocations: 0 / 361.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.09241, allocations: 42.55 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.09242, allocations: 0 / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001916/0.09261, allocations: 85.53 kB / 361.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.09265, allocations: 55.34 kB / 361.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.09273, allocations: 105.8 kB / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.09275, allocations: 29.7 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.0928, allocations: 103.9 kB / 361.9 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.09284, allocations: 27.56 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.09288, allocations: 29.7 kB / 362 MB, free: 9.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.09299, allocations: 318.8 kB / 362.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.09303, allocations: 23.98 kB / 362.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.09309, allocations: 38.56 kB / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.09319, allocations: 70.52 kB / 362.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0932, allocations: 3.938 kB / 362.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001493/0.09335, allocations: 113.5 kB / 362.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.09337, allocations: 7.281 kB / 362.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.09338, allocations: 4 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.0934, allocations: 3.938 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.09352, allocations: 20 kB / 362.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.09353, allocations: 4.312 kB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.09358, allocations: 7.984 kB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.09359, allocations: 8 kB / 362.6 MB, free: 8.754 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.307e-05/0.09369, allocations: 130.8 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.09372, allocations: 3.906 kB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.09377, allocations: 16.31 kB / 362.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.09378, allocations: 3.938 kB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.0938, allocations: 0 / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.09381, allocations: 0 / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.094, allocations: 189.8 kB / 362.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09401, allocations: 0 / 362.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.09412, allocations: 19.98 kB / 362.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.09413, allocations: 7.938 kB / 362.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.09415, allocations: 7.938 kB / 362.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.09415, allocations: 0 / 362.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.09416, allocations: 320 / 362.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.09435, allocations: 195.4 kB / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.09439, allocations: 81.2 kB / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.09442, allocations: 11.94 kB / 363.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.607e-05/0.09448, allocations: 0 / 363.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.0945, allocations: 4 kB / 363.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.09451, allocations: 0 / 363.2 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.09455, allocations: 87.27 kB / 363.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09455, allocations: 0 / 363.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.09479, allocations: 23.91 kB / 363.3 MB, free: 7.895 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.0004186/0.09522, allocations: 0.7319 MB / 364.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.09537, allocations: 59.86 kB / 364.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09538, allocations: 0 / 364.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.09542, allocations: 27.98 kB / 364.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.09573, allocations: 6.672 kB / 364.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.09727, allocations: 1.538 MB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.09756, allocations: 0.6963 MB / 366.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.09762, allocations: 7.953 kB / 366.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.09768, allocations: 19.44 kB / 366.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09768, allocations: 0 / 366.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1151, allocations: 1.75 MB / 368.2 MB, free: 2.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.201, allocations: 14.33 kB / 368.2 MB, free: 2.969 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