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.001698/0.001698, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001982/0.001982, allocations: 184.1 kB / 23.71 MB, free: 4.695 MB / 14.72 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 1.445/1.445, allocations: 225.6 MB / 252.5 MB, free: 12.98 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.00163/0.00163, allocations: 51.92 kB / 370.9 MB, free: 9.328 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2655, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004667/0.2702, allocations: 3.103 MB / 426.2 MB, free: 11.54 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002077/0.2722, allocations: 0.967 MB / 427.2 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2724, allocations: 15.88 kB / 427.2 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000264/0.2727, allocations: 91.05 kB / 427.3 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2729, allocations: 103 kB / 427.4 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.2734, allocations: 215.6 kB / 427.6 MB, free: 10.15 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006289/0.274, allocations: 0.541 MB / 428.1 MB, free: 9.605 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.2744, allocations: 159.1 kB / 428.3 MB, free: 9.441 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.2746, allocations: 183.2 kB / 428.5 MB, free: 9.262 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.2748, allocations: 183 kB / 428.6 MB, free: 9.082 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.2749, allocations: 36 kB / 428.7 MB, free: 9.047 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.275, allocations: 51.98 kB / 428.7 MB, free: 8.996 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.2751, allocations: 83.64 kB / 428.8 MB, free: 8.914 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000207/0.2753, allocations: 230.7 kB / 429 MB, free: 8.688 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.276, allocations: 0.5807 MB / 429.6 MB, free: 8.109 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.276, allocations: 0 / 429.6 MB, free: 8.109 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.292e-06/0.276, allocations: 3.938 kB / 429.6 MB, free: 8.105 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.586e-06/0.276, allocations: 0 / 429.6 MB, free: 8.105 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: 102
 * Number of variables: 102
Notification: Performance of Generate backend data structure: time 0.00106/0.277, allocations: 0.6803 MB / 430.3 MB, free: 7.391 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2771, allocations: 11.97 kB / 430.3 MB, free: 7.379 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2772, allocations: 64.31 kB / 430.4 MB, free: 7.316 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.2779, allocations: 359.5 kB / 430.7 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.2779, allocations: 29 kB / 430.8 MB, free: 6.91 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.278, allocations: 43.98 kB / 430.8 MB, free: 6.867 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.2788, allocations: 491.4 kB / 431.3 MB, free: 6.309 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.2788, allocations: 0 / 431.3 MB, free: 6.309 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.2789, allocations: 16 kB / 431.3 MB, free: 6.293 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2789, allocations: 12 kB / 431.3 MB, free: 6.281 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.2794, allocations: 254.1 kB / 431.6 MB, free: 6.035 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.2822, allocations: 2.746 MB / 434.3 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.2826, allocations: 154.6 kB / 434.5 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2828, allocations: 64.88 kB / 434.5 MB, free: 2.926 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.221e-05/0.2829, allocations: 7.984 kB / 434.5 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.2829, allocations: 38.5 kB / 434.6 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2829, allocations: 4 kB / 434.6 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001347/0.2843, allocations: 0.5426 MB / 435.1 MB, free: 2.289 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2843, allocations: 59.34 kB / 435.2 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.2847, allocations: 345.6 kB / 435.5 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2847, allocations: 25.7 kB / 435.5 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.285, allocations: 315.7 kB / 435.8 MB, free: 1.531 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.285, allocations: 67.48 kB / 435.9 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2851, allocations: 69.64 kB / 436 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001904/0.2853, allocations: 350.7 kB / 436.3 MB, free: 1.039 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2855, allocations: 67.97 kB / 436.4 MB, free: 0.9727 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.2857, allocations: 211.5 kB / 436.6 MB, free: 0.6953 MB / 334.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.001032/0.2868, allocations: 454.5 kB / 437 MB, free: 188 kB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.2868, allocations: 8 kB / 437 MB, free: 180 kB / 334.1 MB
Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006357/0.2874, allocations: 361.7 kB / 437.4 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2874, allocations: 11.94 kB / 437.4 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2874, allocations: 8 kB / 437.4 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.2876, allocations: 36.84 kB / 437.4 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.2879, allocations: 67.91 kB / 437.5 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.2894, allocations: 1.532 MB / 439 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.2895, allocations: 20.05 kB / 439.1 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2896, allocations: 16 kB / 439.1 MB, free: 14.01 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.0002583/0.2898, allocations: 165.7 kB / 439.2 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.2899, allocations: 39.7 kB / 439.3 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.818e-05/0.29, allocations: 43.52 kB / 439.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.29, allocations: 0 / 439.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.29, allocations: 0 / 439.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.29, allocations: 0 / 439.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.291, allocations: 0.6854 MB / 440 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.291, allocations: 4 kB / 440 MB, free: 13 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.2912, allocations: 31.97 kB / 440 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.693e-05/0.2913, allocations: 28.84 kB / 440.1 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2913, allocations: 4 kB / 440.1 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.2924, allocations: 1.334 MB / 441.4 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2924, allocations: 144 / 441.4 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.293, allocations: 373.3 kB / 441.8 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.293, allocations: 27.77 kB / 441.8 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2931, allocations: 4 kB / 441.8 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2932, allocations: 8.031 kB / 441.8 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.2932, allocations: 15.92 kB / 441.8 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2932, allocations: 11.94 kB / 441.8 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002734/0.2935, allocations: 239.2 kB / 442.1 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.6e-07/0.2935, allocations: 4 kB / 442.1 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000468/0.294, allocations: 64 kB / 442.1 MB, free: 10.73 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.0001309/0.2941, allocations: 95.25 kB / 442.2 MB, free: 10.63 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006762/0.2948, allocations: 314.8 kB / 442.5 MB, free: 10.31 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2948, allocations: 0 / 442.5 MB, free: 10.31 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.295, allocations: 182.5 kB / 442.7 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2954, allocations: 40.88 kB / 442.8 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.297, allocations: 0.8606 MB / 443.6 MB, free: 9.184 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.2976, allocations: 0.8107 MB / 444.4 MB, free: 8.344 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001323/0.2977, allocations: 43.2 kB / 444.5 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.2978, allocations: 35.42 kB / 444.5 MB, free: 8.266 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2978, allocations: 0 / 444.5 MB, free: 8.266 MB / 350.1 MB
Notification: Performance of Templates: time 0.008265/0.306, allocations: 2.957 MB / 447.5 MB, free: 5.332 MB / 350.1 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.628510320559144]