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.001204/0.001204, allocations: 110.6 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001278/0.001278, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 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 1.306/1.306, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 55.92 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 49.13 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002311/0.2381, allocations: 1.625 MB / 393.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006771/0.2388, allocations: 0.5328 MB / 394.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.2389, allocations: 1.469 kB / 394.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.2389, allocations: 9.828 kB / 394.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.239, allocations: 26.38 kB / 394.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2391, allocations: 35.94 kB / 394.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2392, allocations: 102 kB / 394.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2393, allocations: 25.59 kB / 394.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.2394, allocations: 39.89 kB / 394.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.2395, allocations: 40.8 kB / 394.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2395, allocations: 8.25 kB / 394.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.2395, allocations: 11.84 kB / 394.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2395, allocations: 17.55 kB / 394.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.2396, allocations: 47.48 kB / 394.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2397, allocations: 97.17 kB / 394.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2397, allocations: 0 / 394.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2397, allocations: 0 / 394.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2397, allocations: 1.156 kB / 394.7 MB, free: 6.984 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.0003694/0.2401, allocations: 391.1 kB / 395.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2402, allocations: 9.812 kB / 395.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.2402, allocations: 7.734 kB / 395.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.2402, allocations: 41.8 kB / 395.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2403, allocations: 13.19 kB / 395.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.069e-05/0.2404, allocations: 169.7 kB / 395.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2404, allocations: 7.656 kB / 395.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.2404, allocations: 9.844 kB / 395.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.2405, allocations: 89.22 kB / 395.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2406, allocations: 1.188 kB / 395.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2406, allocations: 5.094 kB / 395.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2406, allocations: 3.125 kB / 395.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2407, allocations: 58.42 kB / 395.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.2412, allocations: 395 kB / 395.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2414, allocations: 74.19 kB / 396 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.2414, allocations: 29.25 kB / 396 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2414, allocations: 1.625 kB / 396 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.2414, allocations: 35.98 kB / 396 MB, free: 5.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2414, allocations: 0 / 396 MB, free: 5.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001934/0.2416, allocations: 93.7 kB / 396.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.2416, allocations: 57.33 kB / 396.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.594e-05/0.2417, allocations: 104.7 kB / 396.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.2417, allocations: 25.7 kB / 396.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.2417, allocations: 106.3 kB / 396.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2417, allocations: 30.89 kB / 396.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.2418, allocations: 31.23 kB / 396.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.2418, allocations: 318 kB / 396.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.2419, allocations: 21.84 kB / 396.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.2419, allocations: 46.23 kB / 396.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.242, allocations: 66.7 kB / 396.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.242, allocations: 0 / 396.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001294/0.2421, allocations: 106.2 kB / 397 MB, free: 4.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2421, allocations: 6.484 kB / 397 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2421, allocations: 9.094 kB / 397 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2421, allocations: 1.094 kB / 397 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2423, allocations: 26.83 kB / 397 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2423, allocations: 6.188 kB / 397.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.2423, allocations: 6.297 kB / 397.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2423, allocations: 3.219 kB / 397.1 MB, free: 4.91 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 4.739e-05/0.2424, allocations: 118 kB / 397.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2424, allocations: 3.562 kB / 397.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.2424, allocations: 13.95 kB / 397.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2424, allocations: 5.344 kB / 397.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2424, allocations: 0.6094 kB / 397.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2424, allocations: 0.75 kB / 397.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2425, allocations: 193.2 kB / 397.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2426, allocations: 9.5 kB / 397.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.549e-05/0.2426, allocations: 21.88 kB / 397.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2427, allocations: 1.438 kB / 397.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2427, allocations: 7.938 kB / 397.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2427, allocations: 1.656 kB / 397.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2427, allocations: 0 / 397.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.2428, allocations: 186.6 kB / 397.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.2428, allocations: 84.09 kB / 397.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.2428, allocations: 9.672 kB / 397.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.2429, allocations: 0 / 397.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.2429, allocations: 4.641 kB / 397.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2429, allocations: 3.016 kB / 397.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.289e-05/0.2429, allocations: 85.39 kB / 397.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2429, allocations: 0 / 397.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2432, allocations: 26.95 kB / 397.8 MB, free: 4.199 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.0002594/0.2434, allocations: 0.7297 MB / 398.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2436, allocations: 53.42 kB / 398.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2436, allocations: 0 / 398.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/0.2436, allocations: 23.92 kB / 398.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2439, allocations: 13.19 kB / 398.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.245, allocations: 1.546 MB / 400.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2451, allocations: 0.6954 MB / 400.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2452, allocations: 9.531 kB / 400.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.2452, allocations: 24.16 kB / 400.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2452, allocations: 3.938 kB / 400.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.2634, allocations: 1.857 MB / 402.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.02, allocations: 3.812 kB / 402.8 MB, free: 0.7344 MB / 318.1 MB " [Timeout remaining time 652] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.154401674051769]