Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00155/0.00155, allocations: 115 kB / 21.17 MB, free: 0.7812 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.001695/0.001695, allocations: 219.6 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008112/0.3161, allocations: 6.044 MB / 438.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.3199, allocations: 1.749 MB / 439.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007596/0.3206, allocations: 31.81 kB / 439.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.3213, allocations: 249.6 kB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.3219, allocations: 217.8 kB / 440.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.323, allocations: 0.5303 MB / 440.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3247, allocations: 1.387 MB / 442.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007772/0.3255, allocations: 451.8 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.3262, allocations: 482.1 kB / 443.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.3269, allocations: 0.4934 MB / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.327, allocations: 120 kB / 443.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.3273, allocations: 144 kB / 443.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.3275, allocations: 263 kB / 444.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.3281, allocations: 0.6177 MB / 444.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.33, allocations: 1.631 MB / 446.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.33, allocations: 0 / 446.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.33, allocations: 0 / 446.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.33, allocations: 0 / 446.4 MB, free: 8.953 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.002273/0.3323, allocations: 1.503 MB / 447.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3323, allocations: 16.03 kB / 448 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.3327, allocations: 167 kB / 448.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.334, allocations: 0.7711 MB / 448.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.3341, allocations: 90.41 kB / 449 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3342, allocations: 123.9 kB / 449.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.3362, allocations: 1.26 MB / 450.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.3363, allocations: 7.938 kB / 450.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.3364, allocations: 56 kB / 450.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.3364, allocations: 32 kB / 450.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3378, allocations: 0.6851 MB / 451.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006702/0.3445, allocations: 6.802 MB / 457.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3452, allocations: 253.2 kB / 458.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.3455, allocations: 161.7 kB / 458.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.3457, allocations: 81.11 kB / 458.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3457, allocations: 46.55 kB / 458.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.354e-06/0.3457, allocations: 3.938 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002581/0.3483, allocations: 1.426 MB / 459.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3484, allocations: 81.11 kB / 460 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.3492, allocations: 0.6687 MB / 460.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3492, allocations: 33.7 kB / 460.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.3498, allocations: 0.7054 MB / 461.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3499, allocations: 119.1 kB / 461.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.3501, allocations: 142.6 kB / 461.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.3503, allocations: 382.8 kB / 462 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3506, allocations: 149.9 kB / 462.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.3512, allocations: 0.5467 MB / 462.7 MB, free: 7.66 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.001298/0.3525, allocations: 0.9586 MB / 463.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3525, allocations: 4 kB / 463.7 MB, free: 6.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001334/0.3539, allocations: 0.7983 MB / 464.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3539, allocations: 11.12 kB / 464.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3539, allocations: 19.94 kB / 464.5 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.3542, allocations: 81.62 kB / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.3547, allocations: 184.2 kB / 464.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.3577, allocations: 3.337 MB / 468.1 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.3581, allocations: 32 kB / 468.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.3581, allocations: 44 kB / 468.2 MB, free: 1.68 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.0004379/0.3586, allocations: 281.3 kB / 468.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3587, allocations: 75.53 kB / 468.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3588, allocations: 70.41 kB / 468.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3588, allocations: 8.062 kB / 468.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3588, allocations: 0 / 468.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3588, allocations: 0 / 468.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.3608, allocations: 1.251 MB / 469.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3608, allocations: 0 / 469.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.3611, allocations: 71.89 kB / 469.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.3612, allocations: 49.69 kB / 470 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3613, allocations: 15.92 kB / 470 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.3638, allocations: 3.062 MB / 473 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3638, allocations: 3.984 kB / 473 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.3648, allocations: 0.6277 MB / 473.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3649, allocations: 148.6 kB / 473.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.365, allocations: 8 kB / 473.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3653, allocations: 19.92 kB / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.3653, allocations: 27.91 kB / 473.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3653, allocations: 8 kB / 473.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005634/0.3659, allocations: 439 kB / 474.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3659, allocations: 4 kB / 474.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009032/0.3668, allocations: 156 kB / 474.5 MB, free: 10.96 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.0001826/0.367, allocations: 107.3 kB / 474.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3681, allocations: 0.6371 MB / 475.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3681, allocations: 0 / 475.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.3686, allocations: 345.2 kB / 475.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.3691, allocations: 87.34 kB / 475.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.3725, allocations: 1.903 MB / 477.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.3733, allocations: 1.031 MB / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3734, allocations: 63.41 kB / 478.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3734, allocations: 4 kB / 478.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of Templates: time 0.02484/0.3983, allocations: 19.73 MB / 498.4 MB, free: 2.914 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.145486090797931]