Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001367/0.001367, 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.001901/0.001901, allocations: 212 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.562/1.562, allocations: 230.3 MB / 258 MB, free: 8.27 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.88 kB / 378.8 MB, free: 2.805 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3285, allocations: 53.37 MB / 432.1 MB, free: 7.113 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.01424/0.3428, allocations: 6.063 MB / 438.2 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006641/0.3494, allocations: 1.749 MB / 439.9 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.3513, allocations: 39.69 kB / 440 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001517/0.3528, allocations: 249.5 kB / 440.2 MB, free: 14.98 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00162/0.3544, allocations: 229.7 kB / 440.5 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3568, allocations: 0.5226 MB / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003368/0.3602, allocations: 1.395 MB / 442.4 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.3615, allocations: 444.3 kB / 442.8 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.3627, allocations: 498.1 kB / 443.3 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009539/0.3637, allocations: 0.4934 MB / 443.8 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.3639, allocations: 120 kB / 443.9 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.3644, allocations: 140 kB / 444 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.3647, allocations: 263 kB / 444.3 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.3656, allocations: 0.6178 MB / 444.9 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003398/0.369, allocations: 1.635 MB / 446.6 MB, free: 8.621 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.369, allocations: 4 kB / 446.6 MB, free: 8.617 MB / 350.1 MB
Notification: Performance of FrontEnd: time 3.867e-06/0.369, allocations: 0 / 446.6 MB, free: 8.617 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.57e-05/0.3691, allocations: 0 / 446.6 MB, free: 8.617 MB / 350.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.004895/0.374, allocations: 1.424 MB / 448 MB, free: 7.156 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.374, allocations: 12.03 kB / 448 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.3748, allocations: 171 kB / 448.2 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.3774, allocations: 0.6912 MB / 448.8 MB, free: 6.254 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3776, allocations: 90.41 kB / 448.9 MB, free: 6.164 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.3779, allocations: 116 kB / 449.1 MB, free: 6.051 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.3818, allocations: 1.268 MB / 450.3 MB, free: 4.609 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.395e-05/0.3818, allocations: 7.938 kB / 450.3 MB, free: 4.602 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.382, allocations: 56 kB / 450.4 MB, free: 4.547 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.3821, allocations: 28 kB / 450.4 MB, free: 4.52 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.3844, allocations: 0.689 MB / 451.1 MB, free: 3.832 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.3958, allocations: 6.672 MB / 457.8 MB, free: 12.82 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.3969, allocations: 257.2 kB / 458 MB, free: 12.55 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.3975, allocations: 157.7 kB / 458.2 MB, free: 12.39 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.3976, allocations: 8 kB / 458.2 MB, free: 12.39 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.3976, allocations: 34.56 kB / 458.2 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=27): time 3.086e-06/0.3976, allocations: 0 / 458.2 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of matching and sorting (n=29): time 0.003863/0.4015, allocations: 1.286 MB / 459.5 MB, free: 10.99 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.4016, allocations: 85.11 kB / 459.6 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.4028, allocations: 0.6687 MB / 460.3 MB, free: 10.21 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.4029, allocations: 29.7 kB / 460.3 MB, free: 10.18 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.4037, allocations: 0.7015 MB / 461 MB, free: 9.469 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4038, allocations: 123 kB / 461.1 MB, free: 9.348 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.4041, allocations: 138.6 kB / 461.2 MB, free: 9.207 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.000283/0.4044, allocations: 386.8 kB / 461.6 MB, free: 8.82 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.4048, allocations: 141.9 kB / 461.8 MB, free: 8.68 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/0.4057, allocations: 0.5588 MB / 462.3 MB, free: 7.926 MB / 366.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.001239/0.407, allocations: 0.8144 MB / 463.1 MB, free: 6.914 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/0.407, allocations: 11.94 kB / 463.1 MB, free: 6.902 MB / 366.1 MB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.001505/0.4085, allocations: 0.7914 MB / 463.9 MB, free: 6.098 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.4085, allocations: 14.66 kB / 463.9 MB, free: 6.086 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.4085, allocations: 12 kB / 464 MB, free: 6.074 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.4088, allocations: 82.38 kB / 464 MB, free: 5.988 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.4094, allocations: 183.7 kB / 464.2 MB, free: 5.809 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.4127, allocations: 3.125 MB / 467.3 MB, free: 2.457 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.4132, allocations: 31.98 kB / 467.4 MB, free: 2.426 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4132, allocations: 44 kB / 467.4 MB, free: 2.383 MB / 366.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.0005226/0.4137, allocations: 277.4 kB / 467.7 MB, free: 2.102 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.4139, allocations: 79.52 kB / 467.8 MB, free: 2.023 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.414, allocations: 70.36 kB / 467.8 MB, free: 1.953 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.414, allocations: 0 / 467.8 MB, free: 1.953 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.414, allocations: 4 kB / 467.8 MB, free: 1.949 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.414, allocations: 3.984 kB / 467.8 MB, free: 1.945 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.4161, allocations: 1.218 MB / 469.1 MB, free: 0.6641 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4161, allocations: 4 kB / 469.1 MB, free: 0.6602 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.4164, allocations: 63.95 kB / 469.1 MB, free: 0.5977 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.4166, allocations: 57.72 kB / 469.2 MB, free: 0.5352 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4166, allocations: 8 kB / 469.2 MB, free: 0.5273 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.4192, allocations: 2.854 MB / 472 MB, free: 13.44 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4192, allocations: 4.031 kB / 472.1 MB, free: 13.44 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4203, allocations: 0.6289 MB / 472.7 MB, free: 12.77 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4204, allocations: 67.53 kB / 472.7 MB, free: 12.71 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.4205, allocations: 11.98 kB / 472.8 MB, free: 12.7 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.4208, allocations: 12 kB / 472.8 MB, free: 12.68 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.4209, allocations: 35.83 kB / 472.8 MB, free: 12.65 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.4209, allocations: 11.98 kB / 472.8 MB, free: 12.64 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0006377/0.4215, allocations: 439 kB / 473.2 MB, free: 12.21 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4215, allocations: 0 / 473.2 MB, free: 12.21 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001016/0.4225, allocations: 152 kB / 473.4 MB, free: 12.06 MB / 382.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.0001694/0.4227, allocations: 114.5 kB / 473.5 MB, free: 11.95 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001346/0.424, allocations: 0.6325 MB / 474.1 MB, free: 11.29 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.424, allocations: 4 kB / 474.1 MB, free: 11.29 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.4246, allocations: 354 kB / 474.5 MB, free: 10.91 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.4252, allocations: 79.23 kB / 474.6 MB, free: 10.84 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.4286, allocations: 1.852 MB / 476.4 MB, free: 8.949 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.4294, allocations: 1.038 MB / 477.5 MB, free: 7.883 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002913/0.4297, allocations: 82.03 kB / 477.5 MB, free: 7.801 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4299, allocations: 55.42 kB / 477.6 MB, free: 7.746 MB / 382.1 MB
Notification: Performance of SimCode: time 1.002e-06/0.4299, allocations: 0 / 477.6 MB, free: 7.746 MB / 382.1 MB
Notification: Performance of Templates: time 0.01483/0.4447, allocations: 6.024 MB / 483.6 MB, free: 1.754 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.971583830192685]