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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 378.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2111, allocations: 53.41 MB / 432 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002542/0.2136, allocations: 1.652 MB / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.2144, allocations: 0.5571 MB / 434.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.2145, allocations: 0 / 434.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.2145, allocations: 15.86 kB / 434.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.2146, allocations: 23.77 kB / 434.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2148, allocations: 39.89 kB / 434.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.2149, allocations: 95.53 kB / 434.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.215, allocations: 23.98 kB / 434.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.2151, allocations: 43.86 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.2151, allocations: 39.78 kB / 434.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2152, allocations: 12 kB / 434.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.2152, allocations: 19.98 kB / 434.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2152, allocations: 11.94 kB / 434.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.2153, allocations: 43.86 kB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.2154, allocations: 100.5 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2155, allocations: 0 / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2155, allocations: 0 / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2155, allocations: 0 / 434.6 MB, free: 4.043 MB / 334.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.0004154/0.2159, allocations: 310 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2159, allocations: 12.03 kB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.688e-05/0.2159, allocations: 4.188 kB / 434.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.216, allocations: 38.75 kB / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2161, allocations: 16.88 kB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2162, allocations: 114.4 kB / 435.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2162, allocations: 12.38 kB / 435.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2162, allocations: 4.375 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.2164, allocations: 92.34 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2164, allocations: 0 / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2164, allocations: 8 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2164, allocations: 4 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.2165, allocations: 51.97 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.2171, allocations: 367.5 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2173, allocations: 70.48 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.2173, allocations: 32.86 kB / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.2173, allocations: 0 / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2174, allocations: 34.56 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2174, allocations: 0 / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002007/0.2176, allocations: 97.69 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2176, allocations: 51.41 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.2177, allocations: 110 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2177, allocations: 25.7 kB / 436 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.2178, allocations: 104 kB / 436.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2178, allocations: 31.73 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.2178, allocations: 29.7 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.218, allocations: 314.8 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.218, allocations: 19.98 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.2181, allocations: 50.19 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2182, allocations: 78.39 kB / 436.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2182, allocations: 0 / 436.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001505/0.2183, allocations: 101.6 kB / 436.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2184, allocations: 7.984 kB / 436.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2184, allocations: 7.875 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2184, allocations: 4 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2185, allocations: 24 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2185, allocations: 4.062 kB / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.2185, allocations: 4 kB / 436.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2185, allocations: 0 / 436.8 MB, free: 1.648 MB / 334.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.531e-05/0.2186, allocations: 125.8 kB / 436.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.2187, allocations: 7.953 kB / 436.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.2187, allocations: 12.31 kB / 437 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2187, allocations: 4 kB / 437 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2187, allocations: 0 / 437 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2187, allocations: 0 / 437 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.2189, allocations: 164.6 kB / 437.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2189, allocations: 3.938 kB / 437.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.219, allocations: 16.25 kB / 437.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.219, allocations: 3.984 kB / 437.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.219, allocations: 15.94 kB / 437.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.219, allocations: 0 / 437.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.219, allocations: 3.984 kB / 437.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2192, allocations: 187.4 kB / 437.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.2192, allocations: 12 kB / 437.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2193, allocations: 11.97 kB / 437.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.2193, allocations: 0 / 437.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.2193, allocations: 0 / 437.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2193, allocations: 4 kB / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.2194, allocations: 87.27 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2194, allocations: 0 / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.2196, allocations: 20 kB / 437.5 MB, free: 0.9102 MB / 334.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.0004852/0.2201, allocations: 0.7284 MB / 438.2 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2202, allocations: 59.98 kB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2202, allocations: 0 / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.2203, allocations: 23.98 kB / 438.3 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2205, allocations: 4 kB / 438.3 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2221, allocations: 1.561 MB / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.2224, allocations: 0.6924 MB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.951e-05/0.2224, allocations: 7.953 kB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2225, allocations: 23.42 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2225, allocations: 0 / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.2445, allocations: 1.993 MB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.46, allocations: 10.56 kB / 442.6 MB, free: 11.78 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.656595145992469]