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.001318/0.001318, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001178/0.001178, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00161/0.00161, allocations: 51.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08424, allocations: 46.62 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002859/0.08714, allocations: 1.631 MB / 376.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.08807, allocations: 0.5158 MB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.08814, allocations: 4 kB / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/0.08822, allocations: 11.86 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.0883, allocations: 27.77 kB / 376.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.08853, allocations: 31.89 kB / 376.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.08869, allocations: 95.53 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.08883, allocations: 31.98 kB / 377 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.08889, allocations: 39.92 kB / 377 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.08898, allocations: 39.84 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.089, allocations: 8 kB / 377.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.08908, allocations: 15.98 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.08911, allocations: 15.94 kB / 377.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.08917, allocations: 43.8 kB / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.08934, allocations: 99.61 kB / 377.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.08935, allocations: 4 kB / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.08936, allocations: 0 / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.08937, allocations: 3.938 kB / 377.2 MB, free: 2.477 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.0004791/0.08986, allocations: 383.2 kB / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.0899, allocations: 12.03 kB / 377.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.08994, allocations: 38.75 kB / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.09005, allocations: 16.88 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.0902, allocations: 164.3 kB / 377.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.09022, allocations: 8.359 kB / 377.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.09025, allocations: 12.38 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.09042, allocations: 89.72 kB / 377.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.09045, allocations: 4 kB / 377.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.09047, allocations: 8 kB / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.09047, allocations: 0 / 378 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.09061, allocations: 55.86 kB / 378 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.09128, allocations: 400.5 kB / 378.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.09143, allocations: 70.56 kB / 378.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.09149, allocations: 28.84 kB / 378.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.09151, allocations: 4 kB / 378.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.09154, allocations: 38.5 kB / 378.5 MB, free: 1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.09155, allocations: 0 / 378.5 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002162/0.09177, allocations: 97.88 kB / 378.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.09182, allocations: 51.41 kB / 378.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.09191, allocations: 105.9 kB / 378.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.09195, allocations: 37.62 kB / 378.8 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.09202, allocations: 99.98 kB / 378.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.09205, allocations: 31.73 kB / 379 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.0921, allocations: 25.72 kB / 379 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.09225, allocations: 318.8 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.09229, allocations: 16 kB / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.09236, allocations: 46.56 kB / 379.3 MB, free: 128 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.09246, allocations: 78.44 kB / 379.4 MB, free: 40 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.09247, allocations: 0 / 379.4 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.1428/0.2352, allocations: 95.67 kB / 379.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2353, allocations: 5.5 kB / 379.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2353, allocations: 3.188 kB / 379.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2353, allocations: 3.25 kB / 379.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2355, allocations: 25.14 kB / 379.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2355, allocations: 3.719 kB / 379.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.2355, allocations: 14.19 kB / 379.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2356, allocations: 3.594 kB / 379.6 MB, free: 12.72 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 8.019e-05/0.2356, allocations: 127.4 kB / 379.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2357, allocations: 6.078 kB / 379.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2357, allocations: 8.781 kB / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2357, allocations: 6.391 kB / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2357, allocations: 0 / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2357, allocations: 0.7656 kB / 379.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2359, allocations: 189.3 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2359, allocations: 1.375 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.236, allocations: 20.61 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.236, allocations: 1.375 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.236, allocations: 0.5625 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.236, allocations: 1.375 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.236, allocations: 3.172 kB / 379.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2362, allocations: 200.7 kB / 380.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.2362, allocations: 90.33 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2363, allocations: 3.25 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.2363, allocations: 1.375 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.2363, allocations: 7.109 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2364, allocations: 3.062 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.58e-05/0.2364, allocations: 85.89 kB / 380.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2364, allocations: 0 / 380.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.2366, allocations: 29.06 kB / 380.3 MB, free: 12.11 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.0002652/0.2369, allocations: 0.7199 MB / 381.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.237, allocations: 59.02 kB / 381.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.237, allocations: 5.719 kB / 381.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.2371, allocations: 24.44 kB / 381.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2374, allocations: 7.203 kB / 381.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2385, allocations: 1.553 MB / 382.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.2386, allocations: 0.6921 MB / 383.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.2386, allocations: 7.531 kB / 383.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.2387, allocations: 23.02 kB / 383.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2387, allocations: 0 / 383.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2622, allocations: 1.798 MB / 385.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.904, allocations: 5.047 kB / 385.2 MB, free: 8.965 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