Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001315/0.001315, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002386/0.002386, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 64.77 kB / 379 MB, free: 2.664 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2369, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004843/0.2417, allocations: 3.093 MB / 435.5 MB, free: 3.844 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002206/0.2439, allocations: 1.041 MB / 436.5 MB, free: 2.801 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.2443, allocations: 23.75 kB / 436.6 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.2446, allocations: 95.05 kB / 436.6 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.2448, allocations: 103 kB / 436.7 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.2454, allocations: 231.6 kB / 437 MB, free: 2.355 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007027/0.2461, allocations: 0.541 MB / 437.5 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.2465, allocations: 147.2 kB / 437.7 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.2468, allocations: 187.2 kB / 437.8 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.247, allocations: 175 kB / 438 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.2471, allocations: 36 kB / 438 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2472, allocations: 63.97 kB / 438.1 MB, free: 1.207 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.2473, allocations: 91.64 kB / 438.2 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000211/0.2475, allocations: 230.7 kB / 438.4 MB, free: 0.8906 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.2482, allocations: 0.585 MB / 439 MB, free: 316 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2483, allocations: 0 / 439 MB, free: 316 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.302e-06/0.2483, allocations: 0 / 439 MB, free: 316 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.669e-05/0.2483, allocations: 0 / 439 MB, free: 316 kB / 334.1 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.001167/0.2494, allocations: 0.6842 MB / 439.7 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2495, allocations: 16.03 kB / 439.7 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.2497, allocations: 72.3 kB / 439.8 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.2504, allocations: 355.4 kB / 440.1 MB, free: 15.13 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.2504, allocations: 32.94 kB / 440.2 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.2505, allocations: 51.89 kB / 440.2 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.2514, allocations: 487.3 kB / 440.7 MB, free: 14.5 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.2514, allocations: 7.938 kB / 440.7 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.2514, allocations: 20 kB / 440.7 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2515, allocations: 8 kB / 440.7 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.252, allocations: 250.1 kB / 441 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.2545, allocations: 2.754 MB / 443.7 MB, free: 11.33 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.255, allocations: 157.3 kB / 443.9 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2551, allocations: 64.83 kB / 443.9 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.2552, allocations: 11.98 kB / 443.9 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2552, allocations: 38.5 kB / 444 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2552, allocations: 0 / 444 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001281/0.2565, allocations: 0.5582 MB / 444.5 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2565, allocations: 55.39 kB / 444.6 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.2569, allocations: 349.6 kB / 444.9 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.2569, allocations: 29.7 kB / 445 MB, free: 10 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.2572, allocations: 303.7 kB / 445.3 MB, free: 9.699 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.2572, allocations: 63.47 kB / 445.3 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2573, allocations: 69.61 kB / 445.4 MB, free: 9.562 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001628/0.2575, allocations: 354.7 kB / 445.7 MB, free: 9.207 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2576, allocations: 63.97 kB / 445.8 MB, free: 9.145 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2579, allocations: 227.4 kB / 446 MB, free: 8.852 MB / 350.1 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.0009516/0.2588, allocations: 437 kB / 446.4 MB, free: 8.355 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2588, allocations: 4 kB / 446.5 MB, free: 8.352 MB / 350.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006084/0.2594, allocations: 368.6 kB / 446.8 MB, free: 7.984 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2595, allocations: 8 kB / 446.8 MB, free: 7.977 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2595, allocations: 4 kB / 446.8 MB, free: 7.973 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.2596, allocations: 32.84 kB / 446.9 MB, free: 7.938 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2599, allocations: 83.83 kB / 446.9 MB, free: 7.855 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.2613, allocations: 1.536 MB / 448.5 MB, free: 6.207 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2614, allocations: 8 kB / 448.5 MB, free: 6.199 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2615, allocations: 20 kB / 448.5 MB, free: 6.18 MB / 350.1 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.0002209/0.2617, allocations: 177.7 kB / 448.7 MB, free: 5.996 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.2618, allocations: 39.7 kB / 448.7 MB, free: 5.957 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.2618, allocations: 39.47 kB / 448.8 MB, free: 5.918 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2618, allocations: 4 kB / 448.8 MB, free: 5.914 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2618, allocations: 0 / 448.8 MB, free: 5.914 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2618, allocations: 3.984 kB / 448.8 MB, free: 5.91 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2629, allocations: 0.681 MB / 449.4 MB, free: 5.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2629, allocations: 0 / 449.4 MB, free: 5.16 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.2631, allocations: 35.92 kB / 449.5 MB, free: 5.125 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.99e-05/0.2631, allocations: 28.84 kB / 449.5 MB, free: 5.094 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2632, allocations: 0 / 449.5 MB, free: 5.094 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.2644, allocations: 1.334 MB / 450.8 MB, free: 3.641 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2644, allocations: 4 kB / 450.8 MB, free: 3.637 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.2649, allocations: 373.2 kB / 451.2 MB, free: 3.25 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.265, allocations: 31.77 kB / 451.2 MB, free: 3.219 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.265, allocations: 4 kB / 451.2 MB, free: 3.215 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2651, allocations: 4 kB / 451.2 MB, free: 3.211 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.2652, allocations: 19.95 kB / 451.3 MB, free: 3.191 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2652, allocations: 4 kB / 451.3 MB, free: 3.188 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002783/0.2655, allocations: 235.2 kB / 451.5 MB, free: 2.961 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2655, allocations: 4 kB / 451.5 MB, free: 2.957 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004488/0.2659, allocations: 68 kB / 451.6 MB, free: 2.891 MB / 350.1 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 0.0001156/0.2661, allocations: 95.25 kB / 451.7 MB, free: 2.789 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006208/0.2667, allocations: 303.7 kB / 452 MB, free: 2.48 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2667, allocations: 0 / 452 MB, free: 2.48 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2669, allocations: 182.5 kB / 452.1 MB, free: 2.289 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2673, allocations: 33.44 kB / 452.2 MB, free: 2.254 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2688, allocations: 0.8647 MB / 453 MB, free: 1.359 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.2692, allocations: 0.8184 MB / 453.9 MB, free: 0.5156 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001231/0.2694, allocations: 39.25 kB / 453.9 MB, free: 488 kB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2694, allocations: 31.42 kB / 453.9 MB, free: 456 kB / 350.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.2694, allocations: 4 kB / 453.9 MB, free: 452 kB / 350.1 MB
Notification: Performance of Templates: time 0.007709/0.2771, allocations: 2.958 MB / 456.9 MB, free: 13.5 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.575632209889591]