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.001451/0.001451, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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: 208.7 kB / 24.51 MB, free: 3.941 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.37/1.37, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.001743/0.001743, allocations: 63.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2301, allocations: 53.39 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002655/0.2328, allocations: 1.617 MB / 433.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.2337, allocations: 0.5104 MB / 434 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.2337, allocations: 4 kB / 434 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.2337, allocations: 11.92 kB / 434 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.2338, allocations: 31.7 kB / 434.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.234, allocations: 31.95 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2341, allocations: 99.47 kB / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2342, allocations: 27.98 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2343, allocations: 31.92 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.2344, allocations: 39.84 kB / 434.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.2344, allocations: 8 kB / 434.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.694e-05/0.2345, allocations: 12 kB / 434.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.2345, allocations: 27.92 kB / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2345, allocations: 35.86 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2347, allocations: 104.5 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2347, allocations: 0 / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2347, allocations: 0 / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2347, allocations: 0 / 434.5 MB, free: 3.898 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.0004502/0.2352, allocations: 302.1 kB / 434.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2352, allocations: 12.03 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.158e-05/0.2352, allocations: 192 / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.2352, allocations: 42.69 kB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2354, allocations: 20.89 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2355, allocations: 114.5 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2355, allocations: 4.375 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.2355, allocations: 8.375 kB / 435 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2357, allocations: 92.3 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2357, allocations: 7.922 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2357, allocations: 4 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2357, allocations: 4 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.2358, allocations: 47.97 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.2364, allocations: 359.5 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2366, allocations: 74.55 kB / 435.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.2366, allocations: 29.02 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2366, allocations: 3.984 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2367, allocations: 34.55 kB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2367, allocations: 0 / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002168/0.2369, allocations: 93.5 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2369, allocations: 51.41 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.237, allocations: 114 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.237, allocations: 29.7 kB / 435.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.2371, allocations: 104 kB / 436 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.2371, allocations: 27.75 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.2372, allocations: 29.7 kB / 436 MB, free: 2.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2373, allocations: 314.8 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.2374, allocations: 23.98 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.2374, allocations: 42.56 kB / 436.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2376, allocations: 66.52 kB / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2376, allocations: 0 / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.2377, allocations: 113.5 kB / 436.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2377, allocations: 8 kB / 436.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2377, allocations: 3.938 kB / 436.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2378, allocations: 0 / 436.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2379, allocations: 23.94 kB / 436.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2379, allocations: 4 kB / 436.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.2379, allocations: 7.984 kB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2379, allocations: 4 kB / 436.6 MB, free: 1.516 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.808e-05/0.238, allocations: 113.8 kB / 436.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.2381, allocations: 12.02 kB / 436.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.2381, allocations: 12.31 kB / 436.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2381, allocations: 0 / 436.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2381, allocations: 0 / 436.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2381, allocations: 0 / 436.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.2383, allocations: 160.7 kB / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2383, allocations: 0 / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2384, allocations: 27.92 kB / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2384, allocations: 0 / 437 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2384, allocations: 3.938 kB / 437 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2384, allocations: 256 / 437 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2384, allocations: 4 kB / 437 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2386, allocations: 195.5 kB / 437.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.2387, allocations: 7.953 kB / 437.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2387, allocations: 7.969 kB / 437.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.2387, allocations: 3.938 kB / 437.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2388, allocations: 3.984 kB / 437.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.2388, allocations: 4 kB / 437.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.2388, allocations: 83.28 kB / 437.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2388, allocations: 3.938 kB / 437.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.2391, allocations: 24 kB / 437.3 MB, free: 0.7891 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.0005075/0.2396, allocations: 0.728 MB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.2397, allocations: 55.91 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2397, allocations: 4 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.2398, allocations: 19.94 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.24, allocations: 8.625 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2416, allocations: 1.549 MB / 439.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.2417, allocations: 79.33 kB / 439.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.243e-05/0.2417, allocations: 7.938 kB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.2418, allocations: 23.44 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2418, allocations: 0 / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.2637, allocations: 2.014 MB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.59, allocations: 4.062 kB / 441.8 MB, free: 12.29 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.862886691000313]