Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.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.001759/0.001759, allocations: 106 kB / 21.18 MB, free: 0.707 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.002234/0.002234, allocations: 183.9 kB / 24.47 MB, free: 4.074 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.808/1.808, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.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.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs")
translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 59.91 kB / 347.7 MB, free: 9.527 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4372, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008513/0.4457, allocations: 5.987 MB / 402.8 MB, free: 5.168 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004827/0.4506, allocations: 1.705 MB / 404.5 MB, free: 3.906 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.4529, allocations: 45.34 kB / 404.6 MB, free: 3.883 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000951/0.4539, allocations: 249 kB / 404.8 MB, free: 3.719 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001314/0.4552, allocations: 219.1 kB / 405 MB, free: 3.551 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4566, allocations: 0.5107 MB / 405.5 MB, free: 3.238 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002468/0.4591, allocations: 1.39 MB / 406.9 MB, free: 2.516 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.46, allocations: 451.1 kB / 407.4 MB, free: 2.242 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.461, allocations: 491.7 kB / 407.8 MB, free: 1.988 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.4616, allocations: 0.4928 MB / 408.3 MB, free: 1.691 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.4618, allocations: 122.4 kB / 408.5 MB, free: 1.691 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.4621, allocations: 139.3 kB / 408.6 MB, free: 1.684 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.4623, allocations: 275.5 kB / 408.9 MB, free: 1.484 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.4629, allocations: 0.6055 MB / 409.5 MB, free: 1.066 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002381/0.4653, allocations: 1.629 MB / 411.1 MB, free: 256 kB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4653, allocations: 1.375 kB / 411.1 MB, free: 256 kB / 318.1 MB
Notification: Performance of FrontEnd: time 7.81e-07/0.4653, allocations: 0 / 411.1 MB, free: 256 kB / 318.1 MB
Notification: Performance of Transformations before backend: time 2.82e-05/0.4653, allocations: 0 / 411.1 MB, free: 256 kB / 318.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 306
 * Number of variables: 306
Notification: Performance of Generate backend data structure: time 0.002771/0.4681, allocations: 1.415 MB / 412.5 MB, free: 15.18 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 9.411e-05/0.4682, allocations: 10.09 kB / 412.5 MB, free: 15.18 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.4685, allocations: 147.9 kB / 412.7 MB, free: 15.1 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.47, allocations: 0.6991 MB / 413.4 MB, free: 14.54 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.4701, allocations: 87.12 kB / 413.4 MB, free: 14.5 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.4703, allocations: 117.5 kB / 413.6 MB, free: 14.46 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.4729, allocations: 1.264 MB / 414.8 MB, free: 13.47 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/0.4729, allocations: 10.94 kB / 414.8 MB, free: 13.46 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4731, allocations: 54.28 kB / 414.9 MB, free: 13.42 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.4731, allocations: 32.16 kB / 414.9 MB, free: 13.42 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.4746, allocations: 0.6859 MB / 415.6 MB, free: 13.09 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007946/0.4826, allocations: 6.67 MB / 422.3 MB, free: 6.879 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.4835, allocations: 247.9 kB / 422.5 MB, free: 6.734 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.4839, allocations: 170 kB / 422.7 MB, free: 6.641 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.484, allocations: 5.125 kB / 422.7 MB, free: 6.641 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.484, allocations: 45.72 kB / 422.7 MB, free: 6.59 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.484, allocations: 0 / 422.7 MB, free: 6.59 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29): time 0.002875/0.4869, allocations: 1.28 MB / 424 MB, free: 5.648 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.487, allocations: 80.42 kB / 424.1 MB, free: 5.555 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.488, allocations: 0.6582 MB / 424.8 MB, free: 5.16 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.4881, allocations: 31.14 kB / 424.8 MB, free: 5.125 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.4886, allocations: 0.6961 MB / 425.5 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.4887, allocations: 128.1 kB / 425.6 MB, free: 4.391 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.4889, allocations: 149.4 kB / 425.8 MB, free: 4.289 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.00022/0.4892, allocations: 383.2 kB / 426.1 MB, free: 3.922 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4894, allocations: 147.8 kB / 426.3 MB, free: 3.855 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.4901, allocations: 0.5503 MB / 426.8 MB, free: 3.219 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: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y)
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y)
Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4913, allocations: 0.7974 MB / 427.6 MB, free: 2.438 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4913, allocations: 4.906 kB / 427.6 MB, free: 2.438 MB / 334.1 MB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.00154/0.4929, allocations: 0.801 MB / 428.4 MB, free: 2.008 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4929, allocations: 11.22 kB / 428.4 MB, free: 2.008 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4929, allocations: 14.19 kB / 428.4 MB, free: 2.008 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.4932, allocations: 86.22 kB / 428.5 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.4938, allocations: 183.2 kB / 428.7 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.4967, allocations: 3.116 MB / 431.8 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.4972, allocations: 29.88 kB / 431.9 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.4973, allocations: 43.69 kB / 431.9 MB, free: 14.82 MB / 350.1 MB
Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system:
         directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y
         directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 65
 * 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 (91):
 * Single equations (assignments): 89
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,4,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0005532/0.4978, allocations: 273.5 kB / 432.2 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.498, allocations: 75.34 kB / 432.2 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.4981, allocations: 74.34 kB / 432.3 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4981, allocations: 4 kB / 432.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.4981, allocations: 7.938 kB / 432.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4981, allocations: 0 / 432.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.5002, allocations: 1.223 MB / 433.5 MB, free: 13.19 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5002, allocations: 0 / 433.5 MB, free: 13.19 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.5005, allocations: 63.91 kB / 433.6 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.5007, allocations: 57.77 kB / 433.7 MB, free: 13.06 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.5007, allocations: 12 kB / 433.7 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.5031, allocations: 2.866 MB / 436.5 MB, free: 9.957 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5031, allocations: 0 / 436.5 MB, free: 9.957 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5042, allocations: 0.6395 MB / 437.2 MB, free: 9.285 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.5043, allocations: 63.48 kB / 437.2 MB, free: 9.223 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.5044, allocations: 8.062 kB / 437.3 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.5047, allocations: 15.98 kB / 437.3 MB, free: 9.199 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5048, allocations: 31.89 kB / 437.3 MB, free: 9.168 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5048, allocations: 12 kB / 437.3 MB, free: 9.156 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0006358/0.5054, allocations: 435 kB / 437.7 MB, free: 8.734 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5054, allocations: 0 / 437.7 MB, free: 8.734 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.001225/0.5066, allocations: 160 kB / 437.9 MB, free: 8.578 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v)
 * 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 (24):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,3,100.0%), (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.0001907/0.5068, allocations: 111.1 kB / 438 MB, free: 8.461 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001415/0.5083, allocations: 0.6359 MB / 438.6 MB, free: 7.801 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5083, allocations: 0 / 438.6 MB, free: 7.801 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.5088, allocations: 350.8 kB / 439 MB, free: 7.434 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.5094, allocations: 79.42 kB / 439.1 MB, free: 7.359 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.513, allocations: 1.853 MB / 440.9 MB, free: 5.461 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.5138, allocations: 1.031 MB / 441.9 MB, free: 4.402 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0003288/0.5141, allocations: 86.03 kB / 442 MB, free: 4.316 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5143, allocations: 55.42 kB / 442.1 MB, free: 4.262 MB / 350.1 MB
Notification: Performance of SimCode: time 1.472e-06/0.5143, allocations: 0 / 442.1 MB, free: 4.262 MB / 350.1 MB
Notification: Performance of Templates: time 0.01542/0.5297, allocations: 6.019 MB / 448.1 MB, free: 14.23 MB / 366.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.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: 5.639138737693429]