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.008836/0.008836, allocations: 106.3 kB / 21.98 MB, free: 5.223 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.00245/0.00245, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.457/1.457, allocations: 230.6 MB / 259 MB, free: 8.035 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.001948/0.001948, allocations: 67.89 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 53.36 MB / 433.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008293/0.276, allocations: 6.063 MB / 439.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.28, allocations: 1.745 MB / 441 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008995/0.2809, allocations: 43.69 kB / 441 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.2815, allocations: 245.6 kB / 441.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.2822, allocations: 225.7 kB / 441.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.2834, allocations: 0.5264 MB / 442 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.2852, allocations: 1.387 MB / 443.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.286, allocations: 452.3 kB / 443.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.2867, allocations: 0.4903 MB / 444.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.2874, allocations: 0.4895 MB / 444.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.2876, allocations: 120 kB / 444.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.2878, allocations: 144 kB / 445.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.2881, allocations: 263 kB / 445.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.2887, allocations: 0.6138 MB / 446 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.2907, allocations: 1.639 MB / 447.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2907, allocations: 0 / 447.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2907, allocations: 0 / 447.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.841e-05/0.2907, allocations: 4 kB / 447.6 MB, free: 8.445 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.002636/0.2934, allocations: 1.42 MB / 449 MB, free: 6.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2934, allocations: 15.98 kB / 449 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.2939, allocations: 167 kB / 449.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.2953, allocations: 0.6872 MB / 449.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/0.2954, allocations: 90.41 kB / 450 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.2955, allocations: 123.9 kB / 450.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.2977, allocations: 1.26 MB / 451.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.2978, allocations: 7.938 kB / 451.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.2979, allocations: 56 kB / 451.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.2979, allocations: 32 kB / 451.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.2993, allocations: 0.689 MB / 452.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.3062, allocations: 6.684 MB / 458.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.3069, allocations: 257.1 kB / 459.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.3073, allocations: 160.5 kB / 459.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.3074, allocations: 7.984 kB / 459.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3075, allocations: 42.5 kB / 459.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.946e-06/0.3075, allocations: 0 / 459.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002661/0.3101, allocations: 1.282 MB / 460.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3102, allocations: 81.11 kB / 460.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.3111, allocations: 0.6609 MB / 461.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.3111, allocations: 29.7 kB / 461.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/0.3117, allocations: 0.7094 MB / 462 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3118, allocations: 119 kB / 462.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.312, allocations: 146.6 kB / 462.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3123, allocations: 382.8 kB / 462.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3126, allocations: 141.9 kB / 462.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.3132, allocations: 0.5588 MB / 463.4 MB, free: 7.746 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.001254/0.3145, allocations: 0.8149 MB / 464.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3145, allocations: 4 kB / 464.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001465/0.3159, allocations: 0.7904 MB / 465 MB, free: 5.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.316, allocations: 12 kB / 465 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.316, allocations: 15.94 kB / 465 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.3163, allocations: 81.69 kB / 465.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.3168, allocations: 184.2 kB / 465.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.3198, allocations: 3.118 MB / 468.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.3202, allocations: 28 kB / 468.4 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.3203, allocations: 47.98 kB / 468.5 MB, free: 2.219 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.0005321/0.3208, allocations: 274.8 kB / 468.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.321, allocations: 75.53 kB / 468.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.3211, allocations: 82.34 kB / 468.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3211, allocations: 0 / 468.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/0.3211, allocations: 4 kB / 468.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3211, allocations: 3.984 kB / 468.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.3232, allocations: 1.223 MB / 470.1 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3232, allocations: 4 kB / 470.1 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.3235, allocations: 63.89 kB / 470.2 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.3237, allocations: 61.72 kB / 470.2 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3237, allocations: 4 kB / 470.2 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.3263, allocations: 2.851 MB / 473.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3263, allocations: 4.031 kB / 473.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3273, allocations: 0.6317 MB / 473.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3274, allocations: 63.55 kB / 473.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.3275, allocations: 11.94 kB / 473.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3277, allocations: 15.98 kB / 473.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3278, allocations: 31.89 kB / 473.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3278, allocations: 4 kB / 473.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005863/0.3284, allocations: 443 kB / 474.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3284, allocations: 4 kB / 474.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3294, allocations: 156 kB / 474.4 MB, free: 11.88 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.0001633/0.3296, allocations: 107.2 kB / 474.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3309, allocations: 0.6408 MB / 475.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3309, allocations: 0 / 475.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.3314, allocations: 355.4 kB / 475.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.332, allocations: 79.91 kB / 475.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.3354, allocations: 1.892 MB / 477.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.3362, allocations: 1.034 MB / 478.5 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.3364, allocations: 63.42 kB / 478.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3364, allocations: 0 / 478.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02696/0.3633, allocations: 19.73 MB / 498.3 MB, free: 3.852 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.277208189014345]