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.001058/0.001058, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001018/0.001018, allocations: 183 kB / 18.66 MB, free: 4.418 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.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001769/0.001769, allocations: 47.94 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.09078, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002694/0.09352, allocations: 1.62 MB / 376.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.09441, allocations: 0.5197 MB / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.09449, allocations: 0 / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.309e-05/0.09458, allocations: 19.86 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.09466, allocations: 23.78 kB / 376.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.09488, allocations: 31.89 kB / 376.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.09503, allocations: 95.53 kB / 376.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.09518, allocations: 39.91 kB / 377 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.09525, allocations: 35.91 kB / 377 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.09535, allocations: 39.84 kB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.09537, allocations: 12 kB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.09546, allocations: 16 kB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.09549, allocations: 19.92 kB / 377.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.09556, allocations: 39.81 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.09572, allocations: 99.95 kB / 377.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.09574, allocations: 0 / 377.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.09575, allocations: 3.938 kB / 377.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.09576, allocations: 3.984 kB / 377.2 MB, free: 2.465 MB / 318.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.0004739/0.09624, allocations: 379.3 kB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.09629, allocations: 8.031 kB / 377.6 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.09634, allocations: 42.73 kB / 377.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.09648, allocations: 16.84 kB / 377.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.09662, allocations: 164.3 kB / 377.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.09665, allocations: 4.375 kB / 377.8 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.09668, allocations: 12.38 kB / 377.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.09686, allocations: 89.72 kB / 377.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.09688, allocations: 3.906 kB / 377.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.0969, allocations: 4 kB / 377.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.09691, allocations: 4 kB / 377.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.09703, allocations: 55.92 kB / 378 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.09769, allocations: 396.4 kB / 378.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.09782, allocations: 74.53 kB / 378.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.09788, allocations: 28.86 kB / 378.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.0979, allocations: 4 kB / 378.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.09794, allocations: 42.48 kB / 378.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.09794, allocations: 0 / 378.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001974/0.09814, allocations: 85.62 kB / 378.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.09819, allocations: 55.41 kB / 378.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.09828, allocations: 109.8 kB / 378.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.0983, allocations: 29.64 kB / 378.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.09836, allocations: 107.9 kB / 378.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.0984, allocations: 27.56 kB / 378.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.09845, allocations: 29.7 kB / 379 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.09856, allocations: 314.8 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/0.09861, allocations: 23.98 kB / 379.3 MB, free: 176 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.09868, allocations: 54.5 kB / 379.3 MB, free: 112 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.09878, allocations: 66.52 kB / 379.4 MB, free: 36 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09879, allocations: 0 / 379.4 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.1497/0.2485, allocations: 103.6 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.2486, allocations: 7.344 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2486, allocations: 3.391 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2486, allocations: 3.062 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2487, allocations: 23.69 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2488, allocations: 3.656 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.2488, allocations: 10.19 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2488, allocations: 6.094 kB / 379.6 MB, free: 12.68 MB / 318.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.971e-05/0.2489, allocations: 125.4 kB / 379.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.249, allocations: 2.312 kB / 379.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.249, allocations: 10.77 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.249, allocations: 1.969 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.249, allocations: 4.75 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.249, allocations: 0.7656 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.2493, allocations: 195.8 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2493, allocations: 2.125 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2494, allocations: 21.97 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2494, allocations: 1.375 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2494, allocations: 3.25 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2494, allocations: 1.375 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2494, allocations: 5.422 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.2496, allocations: 192.2 kB / 380.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2497, allocations: 83.22 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.2497, allocations: 4.75 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.2498, allocations: 0 / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.2498, allocations: 4.719 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.2498, allocations: 2.969 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.2499, allocations: 86.33 kB / 380.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2499, allocations: 1.969 kB / 380.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.2501, allocations: 26.47 kB / 380.3 MB, free: 12.06 MB / 318.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.0003291/0.2505, allocations: 0.7305 MB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2506, allocations: 57.3 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2507, allocations: 0 / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.2507, allocations: 23.69 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.251, allocations: 6.859 kB / 381.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2523, allocations: 1.55 MB / 382.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2525, allocations: 0.696 MB / 383.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.2525, allocations: 8.578 kB / 383.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.2526, allocations: 22.91 kB / 383.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2526, allocations: 0 / 383.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.2814, allocations: 1.813 MB / 385.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.605, allocations: 6.328 kB / 385.2 MB, free: 8.93 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches