Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.002107/0.002107, allocations: 112 kB / 20.43 MB, free: 1.449 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.001999/0.001999, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.46/1.46, allocations: 225.6 MB / 252.5 MB, free: 13 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 371 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2901, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008663/0.2988, allocations: 6.042 MB / 429.2 MB, free: 8.605 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004063/0.3028, allocations: 1.667 MB / 430.8 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008585/0.3037, allocations: 35.75 kB / 430.9 MB, free: 6.898 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007556/0.3044, allocations: 253.5 kB / 431.1 MB, free: 6.648 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001057/0.3055, allocations: 213.7 kB / 431.3 MB, free: 6.438 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3071, allocations: 0.5187 MB / 431.9 MB, free: 5.918 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00268/0.3098, allocations: 1.387 MB / 433.2 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009952/0.3108, allocations: 448.3 kB / 433.7 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.3116, allocations: 486.1 kB / 434.2 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.3123, allocations: 0.5089 MB / 434.7 MB, free: 3.078 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.3125, allocations: 124 kB / 434.8 MB, free: 2.957 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.3127, allocations: 128 kB / 434.9 MB, free: 2.832 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.313, allocations: 263.1 kB / 435.2 MB, free: 2.574 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.3136, allocations: 0.6178 MB / 435.8 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002126/0.3157, allocations: 1.631 MB / 437.4 MB, free: 328 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3157, allocations: 0 / 437.4 MB, free: 328 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.3157, allocations: 0 / 437.4 MB, free: 328 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 2.298e-05/0.3158, allocations: 0 / 437.4 MB, free: 328 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: 306
 * Number of variables: 306
Notification: Performance of Generate backend data structure: time 0.002449/0.3182, allocations: 1.413 MB / 438.8 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3182, allocations: 8.031 kB / 438.8 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.3185, allocations: 151.1 kB / 439 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.3198, allocations: 0.6872 MB / 439.7 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/0.3199, allocations: 94.34 kB / 439.8 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3201, allocations: 115.9 kB / 439.9 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.3225, allocations: 1.268 MB / 441.1 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.3225, allocations: 7.938 kB / 441.1 MB, free: 12.34 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3226, allocations: 52 kB / 441.2 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.3226, allocations: 32 kB / 441.2 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.3241, allocations: 0.689 MB / 441.9 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/0.3315, allocations: 6.672 MB / 448.6 MB, free: 4.559 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.3323, allocations: 261.1 kB / 448.8 MB, free: 4.285 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.3327, allocations: 157.7 kB / 449 MB, free: 4.125 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.007e-05/0.3327, allocations: 7.984 kB / 449 MB, free: 4.117 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3328, allocations: 42.56 kB / 449 MB, free: 4.066 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=27): time 2.435e-06/0.3328, allocations: 0 / 449 MB, free: 4.066 MB / 350.1 MB
Notification: Performance of matching and sorting (n=29): time 0.002671/0.3355, allocations: 1.278 MB / 450.3 MB, free: 2.723 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.3355, allocations: 85.05 kB / 450.4 MB, free: 2.621 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.3364, allocations: 0.657 MB / 451.1 MB, free: 1.953 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.3364, allocations: 29.7 kB / 451.1 MB, free: 1.918 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00053/0.3369, allocations: 0.7016 MB / 451.8 MB, free: 1.207 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.337, allocations: 123 kB / 451.9 MB, free: 1.086 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.3372, allocations: 150.5 kB / 452.1 MB, free: 0.9336 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002032/0.3374, allocations: 386.8 kB / 452.4 MB, free: 0.5469 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.3377, allocations: 145.9 kB / 452.6 MB, free: 412 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.3384, allocations: 0.551 MB / 453.1 MB, free: 15.65 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.001209/0.3396, allocations: 0.7953 MB / 453.9 MB, free: 14.66 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3396, allocations: 8 kB / 453.9 MB, free: 14.65 MB / 366.1 MB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.001393/0.341, allocations: 0.7918 MB / 454.7 MB, free: 13.85 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.341, allocations: 18.84 kB / 454.7 MB, free: 13.84 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.341, allocations: 16 kB / 454.8 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.3413, allocations: 81.62 kB / 454.8 MB, free: 13.73 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.3419, allocations: 179.7 kB / 455 MB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.3448, allocations: 3.122 MB / 458.1 MB, free: 10.21 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.3452, allocations: 32 kB / 458.2 MB, free: 10.18 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.3452, allocations: 44.06 kB / 458.2 MB, free: 10.14 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.0004377/0.3457, allocations: 281.3 kB / 458.5 MB, free: 9.852 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3458, allocations: 83.36 kB / 458.6 MB, free: 9.77 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.3459, allocations: 74.34 kB / 458.6 MB, free: 9.691 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3459, allocations: 4 kB / 458.6 MB, free: 9.688 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3459, allocations: 0 / 458.6 MB, free: 9.688 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3459, allocations: 0 / 458.6 MB, free: 9.688 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3479, allocations: 1.219 MB / 459.9 MB, free: 8.402 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3479, allocations: 4 kB / 459.9 MB, free: 8.398 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.3483, allocations: 64 kB / 459.9 MB, free: 8.336 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.3484, allocations: 65.75 kB / 460 MB, free: 8.266 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3485, allocations: 4 kB / 460 MB, free: 8.262 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.3509, allocations: 2.85 MB / 462.9 MB, free: 5.18 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3509, allocations: 4.031 kB / 462.9 MB, free: 5.176 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009851/0.3519, allocations: 0.6278 MB / 463.5 MB, free: 4.512 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.352, allocations: 67.55 kB / 463.6 MB, free: 4.445 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.3521, allocations: 8 kB / 463.6 MB, free: 4.438 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3524, allocations: 23.92 kB / 463.6 MB, free: 4.414 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.3524, allocations: 31.83 kB / 463.6 MB, free: 4.383 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3525, allocations: 8 kB / 463.6 MB, free: 4.375 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0005668/0.353, allocations: 439 kB / 464 MB, free: 3.949 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 0 / 464 MB, free: 3.949 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0008989/0.3539, allocations: 156 kB / 464.2 MB, free: 3.797 MB / 366.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.0001438/0.3541, allocations: 111.1 kB / 464.3 MB, free: 3.68 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001186/0.3552, allocations: 0.6329 MB / 464.9 MB, free: 3.023 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3553, allocations: 0 / 464.9 MB, free: 3.023 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005248/0.3558, allocations: 357.7 kB / 465.3 MB, free: 2.648 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.3563, allocations: 75.56 kB / 465.4 MB, free: 2.578 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.3597, allocations: 1.856 MB / 467.2 MB, free: 0.6836 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.3605, allocations: 1.034 MB / 468.3 MB, free: 15.62 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000285/0.3607, allocations: 86.02 kB / 468.3 MB, free: 15.54 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3609, allocations: 55.42 kB / 468.4 MB, free: 15.48 MB / 382.1 MB
Notification: Performance of SimCode: time 8.42e-07/0.3609, allocations: 0 / 468.4 MB, free: 15.48 MB / 382.1 MB
Notification: Performance of Templates: time 0.0144/0.3753, allocations: 6.01 MB / 474.4 MB, free: 9.504 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.709502476267517]