Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 84 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003649/0.003649, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8373/0.8373, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.471e-05, allocations: 6.219 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00302/0.003045, allocations: 2.807 MB / 322.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.004401, allocations: 0.9356 MB / 323.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.004568, allocations: 19.81 kB / 323.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.004791, allocations: 95.09 kB / 323.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.004928, allocations: 106.8 kB / 323.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.005406, allocations: 223.5 kB / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000432/0.005838, allocations: 0.5602 MB / 324.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.006076, allocations: 143.2 kB / 324.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.006318, allocations: 263.4 kB / 324.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.006464, allocations: 127.5 kB / 324.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.006505, allocations: 36 kB / 325 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.006602, allocations: 47.98 kB / 325 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.006659, allocations: 99.53 kB / 325.1 MB, free: 404 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.006752, allocations: 135.6 kB / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.007212, allocations: 0.5683 MB / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.007216, allocations: 4 kB / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.007219, allocations: 3.984 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.007225, allocations: 0 / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0007369/0.007962, allocations: 0.6765 MB / 326.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.007999, allocations: 12.03 kB / 326.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.008069, allocations: 60.31 kB / 326.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.008505, allocations: 355.4 kB / 326.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.008532, allocations: 33 kB / 326.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.008585, allocations: 40 kB / 327 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.009123, allocations: 483.4 kB / 327.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.009147, allocations: 11.92 kB / 327.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.009172, allocations: 16 kB / 327.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.009183, allocations: 12 kB / 327.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.009504, allocations: 242.2 kB / 327.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.01106, allocations: 2.611 MB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.01139, allocations: 150.7 kB / 330.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.01147, allocations: 76.8 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.01156, allocations: 4 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.01158, allocations: 30.56 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.01158, allocations: 4 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008396/0.01242, allocations: 0.5595 MB / 331.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.01245, allocations: 51.41 kB / 331.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.01269, allocations: 365.4 kB / 331.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.01271, allocations: 25.7 kB / 331.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01284, allocations: 303.7 kB / 331.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.01288, allocations: 75.36 kB / 332 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.01294, allocations: 57.7 kB / 332 MB, free: 9.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.01303, allocations: 354.8 kB / 332.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.01312, allocations: 71.86 kB / 332.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01326, allocations: 211.7 kB / 332.6 MB, free: 8.414 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.01384, allocations: 455.8 kB / 333.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01385, allocations: 4 kB / 333.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003658/0.01421, allocations: 356.6 kB / 333.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.01423, allocations: 12.62 kB / 333.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01424, allocations: 4 kB / 333.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.01437, allocations: 44.78 kB / 333.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01451, allocations: 71.91 kB / 333.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009985/0.01551, allocations: 1.505 MB / 335.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.01559, allocations: 16 kB / 335.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01561, allocations: 16 kB / 335.1 MB, free: 5.773 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.01577, allocations: 178 kB / 335.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.0158, allocations: 35.77 kB / 335.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.01585, allocations: 35.53 kB / 335.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01585, allocations: 4 kB / 335.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01585, allocations: 3.938 kB / 335.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01586, allocations: 0 / 335.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.01644, allocations: 0.5674 MB / 335.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01645, allocations: 0 / 335.9 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.01654, allocations: 31.98 kB / 335.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.628e-05/0.0166, allocations: 28.88 kB / 336 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01661, allocations: 4 kB / 336 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006567/0.01727, allocations: 1.296 MB / 337.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01727, allocations: 3.938 kB / 337.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.01759, allocations: 363.8 kB / 337.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01762, allocations: 31.89 kB / 337.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01763, allocations: 11.94 kB / 337.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.01769, allocations: 12.05 kB / 337.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.01773, allocations: 19.91 kB / 337.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01773, allocations: 4 kB / 337.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.01788, allocations: 235.2 kB / 337.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01788, allocations: 0 / 337.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000265/0.01815, allocations: 68 kB / 338 MB, free: 2.688 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.59e-05/0.01823, allocations: 99.19 kB / 338.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.01861, allocations: 310.2 kB / 338.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01861, allocations: 0 / 338.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01874, allocations: 187.9 kB / 338.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01898, allocations: 37.22 kB / 338.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.01992, allocations: 0.8031 MB / 339.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.02007, allocations: 219.1 kB / 339.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.02013, allocations: 32.5 kB / 339.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02013, allocations: 0 / 339.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of Templates: time 0.00647/0.0266, allocations: 6.603 MB / 346.3 MB, free: 10.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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: 4.6701337629929185]