Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001775/0.001775, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002193/0.002193, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.262 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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.88 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2637, allocations: 53.37 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004457/0.2682, allocations: 3.1 MB / 435.2 MB, free: 3.969 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00178/0.27, allocations: 1.037 MB / 436.2 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2701, allocations: 19.81 kB / 436.3 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.2704, allocations: 91.05 kB / 436.4 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2706, allocations: 102.9 kB / 436.5 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.2711, allocations: 231.6 kB / 436.7 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005805/0.2717, allocations: 0.5449 MB / 437.2 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.272, allocations: 147.2 kB / 437.4 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.2723, allocations: 187.2 kB / 437.5 MB, free: 1.609 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2725, allocations: 178.9 kB / 437.7 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.2726, allocations: 40 kB / 437.8 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2727, allocations: 59.92 kB / 437.8 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.2728, allocations: 91.64 kB / 437.9 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.273, allocations: 226.6 kB / 438.1 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.2737, allocations: 0.5889 MB / 438.7 MB, free: 448 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2737, allocations: 0 / 438.7 MB, free: 448 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.332e-06/0.2737, allocations: 4 kB / 438.7 MB, free: 444 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.123e-06/0.2737, allocations: 0 / 438.7 MB, free: 444 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.001071/0.2747, allocations: 0.6764 MB / 439.4 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2748, allocations: 12.02 kB / 439.4 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.275, allocations: 72.31 kB / 439.5 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.2757, allocations: 363.4 kB / 439.8 MB, free: 15.26 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.2757, allocations: 29 kB / 439.9 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.2758, allocations: 43.95 kB / 439.9 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.2766, allocations: 487.3 kB / 440.4 MB, free: 14.64 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.2766, allocations: 11.88 kB / 440.4 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.2766, allocations: 16 kB / 440.4 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2766, allocations: 12 kB / 440.4 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.2772, allocations: 254.1 kB / 440.7 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.2796, allocations: 2.758 MB / 443.4 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.2801, allocations: 150.7 kB / 443.6 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2802, allocations: 64.83 kB / 443.6 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.077e-05/0.2803, allocations: 8 kB / 443.6 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.2804, allocations: 42.44 kB / 443.7 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.2804, allocations: 0 / 443.7 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001331/0.2817, allocations: 0.5577 MB / 444.2 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2817, allocations: 55.41 kB / 444.3 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2821, allocations: 349.6 kB / 444.6 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2821, allocations: 29.7 kB / 444.7 MB, free: 10.13 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.2824, allocations: 303.7 kB / 445 MB, free: 9.832 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.2824, allocations: 71.45 kB / 445 MB, free: 9.762 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.2825, allocations: 69.61 kB / 445.1 MB, free: 9.688 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001635/0.2827, allocations: 350.7 kB / 445.4 MB, free: 9.336 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2829, allocations: 63.97 kB / 445.5 MB, free: 9.273 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.2831, allocations: 230.4 kB / 445.7 MB, free: 8.98 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.000969/0.2841, allocations: 445.4 kB / 446.2 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2841, allocations: 0 / 446.2 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006156/0.2847, allocations: 361.5 kB / 446.5 MB, free: 8.117 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2847, allocations: 8.688 kB / 446.5 MB, free: 8.109 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2847, allocations: 4 kB / 446.5 MB, free: 8.105 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2849, allocations: 40.84 kB / 446.6 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2851, allocations: 79.83 kB / 446.7 MB, free: 7.984 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.2865, allocations: 1.528 MB / 448.2 MB, free: 6.344 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.2867, allocations: 16 kB / 448.2 MB, free: 6.328 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.2867, allocations: 16 kB / 448.2 MB, free: 6.312 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.0002066/0.2869, allocations: 169.6 kB / 448.4 MB, free: 6.137 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.287, allocations: 47.7 kB / 448.4 MB, free: 6.09 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-05/0.2871, allocations: 35.59 kB / 448.5 MB, free: 6.055 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2871, allocations: 4 kB / 448.5 MB, free: 6.051 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2871, allocations: 3.938 kB / 448.5 MB, free: 6.047 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2871, allocations: 3.984 kB / 448.5 MB, free: 6.043 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2881, allocations: 0.6782 MB / 449.2 MB, free: 5.293 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2881, allocations: 0 / 449.2 MB, free: 5.293 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.2883, allocations: 36.02 kB / 449.2 MB, free: 5.258 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-05/0.2884, allocations: 28.84 kB / 449.2 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2884, allocations: 4 kB / 449.2 MB, free: 5.223 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2895, allocations: 1.334 MB / 450.6 MB, free: 3.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2895, allocations: 4 kB / 450.6 MB, free: 3.766 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.2901, allocations: 367.9 kB / 450.9 MB, free: 3.387 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.2901, allocations: 31.77 kB / 450.9 MB, free: 3.355 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.2902, allocations: 8.062 kB / 451 MB, free: 3.348 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2903, allocations: 8 kB / 451 MB, free: 3.34 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2903, allocations: 15.95 kB / 451 MB, free: 3.324 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2904, allocations: 8 kB / 451 MB, free: 3.316 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002475/0.2906, allocations: 231.2 kB / 451.2 MB, free: 3.098 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2906, allocations: 0 / 451.2 MB, free: 3.098 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004433/0.291, allocations: 68 kB / 451.3 MB, free: 3.031 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.0001267/0.2912, allocations: 107.2 kB / 451.4 MB, free: 2.918 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005926/0.2918, allocations: 295.7 kB / 451.7 MB, free: 2.617 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2918, allocations: 0 / 451.7 MB, free: 2.617 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.292, allocations: 186.6 kB / 451.9 MB, free: 2.422 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.2924, allocations: 48.06 kB / 451.9 MB, free: 2.375 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2939, allocations: 0.8528 MB / 452.8 MB, free: 1.492 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.2944, allocations: 0.8146 MB / 453.6 MB, free: 0.6484 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001196/0.2945, allocations: 39.27 kB / 453.6 MB, free: 0.6094 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.2946, allocations: 35.42 kB / 453.6 MB, free: 0.5742 MB / 350.1 MB
Notification: Performance of SimCode: time 7.31e-07/0.2946, allocations: 0 / 453.6 MB, free: 0.5742 MB / 350.1 MB
Notification: Performance of Templates: time 0.007906/0.3025, allocations: 2.959 MB / 456.6 MB, free: 13.63 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.605760412290692]