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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005285/0.005285, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9018/0.9018, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.134e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002045/0.002067, allocations: 1.592 MB / 300 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006405/0.002707, allocations: 0.4925 MB / 300.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.002758, allocations: 8 kB / 300.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.002808, allocations: 11.86 kB / 300.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.002869, allocations: 27.72 kB / 300.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.00308, allocations: 23.95 kB / 300.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003191, allocations: 103.5 kB / 300.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.003311, allocations: 27.98 kB / 300.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.003372, allocations: 55.88 kB / 300.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.003444, allocations: 31.91 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.003465, allocations: 8 kB / 300.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.748e-05/0.003532, allocations: 16 kB / 300.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.003553, allocations: 19.91 kB / 300.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.003584, allocations: 24 kB / 300.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.003727, allocations: 107.6 kB / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003729, allocations: 0 / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00373, allocations: 0 / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.003735, allocations: 0 / 301 MB, free: 0.9766 MB / 282.7 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.0003743/0.004109, allocations: 314 kB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.004152, allocations: 15.97 kB / 301.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.004194, allocations: 42.69 kB / 301.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.004285, allocations: 12.89 kB / 301.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.004376, allocations: 117.7 kB / 301.4 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.00439, allocations: 8.375 kB / 301.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.004415, allocations: 12.38 kB / 301.5 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004548, allocations: 74.23 kB / 301.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.004558, allocations: 192 / 301.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.004572, allocations: 12.12 kB / 301.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004577, allocations: 0 / 301.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.004668, allocations: 59.86 kB / 301.6 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/0.1323, allocations: 346.3 kB / 301.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1325, allocations: 67.14 kB / 302 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.1325, allocations: 33.09 kB / 302 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1325, allocations: 1.938 kB / 302 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.1325, allocations: 36.25 kB / 302.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.1325, allocations: 0.5625 kB / 302.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001687/0.1327, allocations: 88.27 kB / 302.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1327, allocations: 55.88 kB / 302.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.1328, allocations: 105.6 kB / 302.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.1328, allocations: 28.2 kB / 302.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.1328, allocations: 103.7 kB / 302.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1328, allocations: 35 kB / 302.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1329, allocations: 26.28 kB / 302.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.1329, allocations: 319 kB / 302.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.1329, allocations: 23.25 kB / 302.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.133, allocations: 42.61 kB / 302.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.1331, allocations: 66.44 kB / 303 MB, free: 14.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1331, allocations: 0.6562 kB / 303 MB, free: 14.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001149/0.1332, allocations: 108.8 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1332, allocations: 9.594 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1332, allocations: 4.219 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1332, allocations: 1.891 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1333, allocations: 33.42 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1333, allocations: 1.125 kB / 303.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.1334, allocations: 11.67 kB / 303.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1334, allocations: 3.156 kB / 303.1 MB, free: 14.84 MB / 282.7 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 4.935e-05/0.1334, allocations: 117.7 kB / 303.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1334, allocations: 3.438 kB / 303.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1334, allocations: 16.78 kB / 303.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1334, allocations: 1.469 kB / 303.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1335, allocations: 2.031 kB / 303.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1335, allocations: 0 / 303.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1336, allocations: 159.5 kB / 303.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1336, allocations: 0 / 303.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.1336, allocations: 22.59 kB / 303.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1336, allocations: 0 / 303.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1337, allocations: 9.156 kB / 303.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1337, allocations: 4.594 kB / 303.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1337, allocations: 0 / 303.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1338, allocations: 187.1 kB / 303.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.1338, allocations: 6.828 kB / 303.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1338, allocations: 9.859 kB / 303.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.1338, allocations: 8.781 kB / 303.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.1339, allocations: 5.062 kB / 303.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1339, allocations: 1.156 kB / 303.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.1339, allocations: 84.83 kB / 303.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 0 / 303.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.134, allocations: 26.92 kB / 303.8 MB, free: 14.32 MB / 282.7 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.0001985/0.1342, allocations: 0.7301 MB / 304.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1344, allocations: 54.66 kB / 304.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1344, allocations: 0 / 304.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.1344, allocations: 20.19 kB / 304.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1346, allocations: 13.23 kB / 304.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.1355, allocations: 1.493 MB / 306.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.1355, allocations: 83.47 kB / 306.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.1355, allocations: 8.656 kB / 306.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1356, allocations: 22.06 kB / 306.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1356, allocations: 5.188 kB / 306.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.151, allocations: 2.466 MB / 308.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/6.608, allocations: 1.875 kB / 308.7 MB, free: 11.07 MB / 282.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.206137735396624]