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.001322/0.001322, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001516/0.001516, allocations: 215.5 kB / 23 MB, free: 5.609 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.593/1.593, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.001894/0.001894, allocations: 68.08 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3462, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008543/0.3548, allocations: 6.051 MB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.3589, allocations: 1.749 MB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.3598, allocations: 31.81 kB / 437.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.3605, allocations: 245.6 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007242/0.3612, allocations: 225.7 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3627, allocations: 0.5303 MB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3646, allocations: 1.387 MB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.3654, allocations: 443.8 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.3662, allocations: 494 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.3669, allocations: 0.4895 MB / 441.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.367, allocations: 120 kB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.3673, allocations: 140 kB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.3676, allocations: 267 kB / 441.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.3682, allocations: 0.6138 MB / 442.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.3703, allocations: 1.635 MB / 444.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3703, allocations: 4 kB / 444.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3703, allocations: 0 / 444.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.3703, allocations: 0 / 444.2 MB, free: 9.094 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.002391/0.3727, allocations: 1.5 MB / 445.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3728, allocations: 12.03 kB / 445.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004047/0.3732, allocations: 163 kB / 445.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3745, allocations: 0.775 MB / 446.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3746, allocations: 86.41 kB / 446.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3747, allocations: 123.9 kB / 446.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.377, allocations: 1.26 MB / 448.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.377, allocations: 11.92 kB / 448.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3771, allocations: 60 kB / 448.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.3772, allocations: 32 kB / 448.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.3786, allocations: 0.6851 MB / 448.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007237/0.3858, allocations: 6.798 MB / 455.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.3866, allocations: 261.2 kB / 455.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.387, allocations: 157.6 kB / 456.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.3871, allocations: 85.09 kB / 456.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3871, allocations: 38.56 kB / 456.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.475e-06/0.3871, allocations: 0 / 456.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00273/0.3899, allocations: 1.429 MB / 457.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.39, allocations: 81.11 kB / 457.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.3908, allocations: 0.6687 MB / 458.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3909, allocations: 33.7 kB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.3914, allocations: 0.7015 MB / 459.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3915, allocations: 123 kB / 459.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3917, allocations: 142.5 kB / 459.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.392, allocations: 390.7 kB / 459.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3923, allocations: 141.9 kB / 459.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.3929, allocations: 0.5545 MB / 460.5 MB, free: 7.805 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.001282/0.3942, allocations: 0.9568 MB / 461.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.3942, allocations: 8 kB / 461.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001409/0.3956, allocations: 0.7939 MB / 462.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3957, allocations: 12 kB / 462.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.3957, allocations: 16 kB / 462.3 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.396, allocations: 86.31 kB / 462.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.3965, allocations: 183.7 kB / 462.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.3997, allocations: 3.321 MB / 465.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.4001, allocations: 39.98 kB / 465.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.4002, allocations: 40 kB / 465.9 MB, free: 1.828 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.0005097/0.4007, allocations: 277.5 kB / 466.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4008, allocations: 83.42 kB / 466.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.4009, allocations: 66.42 kB / 466.3 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4009, allocations: 4 kB / 466.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4009, allocations: 3.984 kB / 466.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4009, allocations: 0 / 466.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.403, allocations: 1.255 MB / 467.6 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.403, allocations: 0 / 467.6 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.4033, allocations: 67.95 kB / 467.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/0.4035, allocations: 53.62 kB / 467.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.4035, allocations: 12.09 kB / 467.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.4062, allocations: 3.058 MB / 470.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4062, allocations: 4.062 kB / 470.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/0.4072, allocations: 0.6315 MB / 471.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.4073, allocations: 140.7 kB / 471.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.4074, allocations: 11.98 kB / 471.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.4076, allocations: 12 kB / 471.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.4077, allocations: 31.84 kB / 471.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.4077, allocations: 15.98 kB / 471.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005842/0.4083, allocations: 435 kB / 472.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4083, allocations: 0 / 472.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000961/0.4093, allocations: 156 kB / 472.2 MB, free: 11.12 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.0001824/0.4094, allocations: 115.2 kB / 472.3 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4106, allocations: 0.6316 MB / 473 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4106, allocations: 0 / 473 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.4111, allocations: 354 kB / 473.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.4117, allocations: 83.36 kB / 473.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.4151, allocations: 1.866 MB / 475.2 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.4158, allocations: 1.038 MB / 476.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.4161, allocations: 78.03 kB / 476.4 MB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4162, allocations: 59.42 kB / 476.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4162, allocations: 4 kB / 476.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of Templates: time 0.01482/0.431, allocations: 5.835 MB / 482.3 MB, free: 0.9766 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.928348334506154]