Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002192/0.002192, allocations: 215.5 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.94 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2815, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007765/0.2892, allocations: 5.293 MB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.2931, allocations: 1.691 MB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.294, allocations: 43.69 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.2946, allocations: 253.5 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.2953, allocations: 213.8 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.2966, allocations: 0.5227 MB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.2984, allocations: 1.395 MB / 441.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007726/0.2992, allocations: 447.3 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008027/0.3, allocations: 494.1 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.3006, allocations: 0.5011 MB / 443.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3008, allocations: 120 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.301, allocations: 140 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.3013, allocations: 267 kB / 443.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.3018, allocations: 489.5 kB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.3037, allocations: 1.645 MB / 445.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3037, allocations: 4 kB / 445.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3037, allocations: 0 / 445.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.3037, allocations: 0 / 445.8 MB, free: 9.16 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.002332/0.3061, allocations: 1.428 MB / 447.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.3061, allocations: 12.03 kB / 447.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.3065, allocations: 163 kB / 447.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.3079, allocations: 0.6912 MB / 448.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.3079, allocations: 94.34 kB / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3081, allocations: 116 kB / 448.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.3102, allocations: 1.322 MB / 449.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.3103, allocations: 7.938 kB / 449.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/0.3104, allocations: 52 kB / 449.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.3104, allocations: 32 kB / 449.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3117, allocations: 0.6968 MB / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006642/0.3183, allocations: 6.283 MB / 456.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.3191, allocations: 260.4 kB / 456.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.3195, allocations: 157.6 kB / 457.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-05/0.3196, allocations: 8 kB / 457.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3196, allocations: 42.56 kB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.455e-06/0.3196, allocations: 0 / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002594/0.3222, allocations: 1.273 MB / 458.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3223, allocations: 92.98 kB / 458.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008341/0.3231, allocations: 0.6763 MB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3231, allocations: 29.7 kB / 459.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.3237, allocations: 0.7055 MB / 459.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3238, allocations: 127 kB / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.324, allocations: 142.5 kB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.3242, allocations: 382.8 kB / 460.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.3245, allocations: 145.9 kB / 460.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.3251, allocations: 0.5472 MB / 461.3 MB, free: 8.785 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.001179/0.3263, allocations: 0.8159 MB / 462.1 MB, free: 7.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3263, allocations: 4 kB / 462.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001406/0.3277, allocations: 0.7976 MB / 462.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3277, allocations: 15.94 kB / 462.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3277, allocations: 12 kB / 462.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.328, allocations: 81.62 kB / 463 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.3286, allocations: 179.7 kB / 463.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/0.3315, allocations: 3.076 MB / 466.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.3319, allocations: 28 kB / 466.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.332, allocations: 40 kB / 466.3 MB, free: 3.328 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.0005122/0.3325, allocations: 273.4 kB / 466.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3326, allocations: 87.55 kB / 466.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.3328, allocations: 70.34 kB / 466.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3328, allocations: 4 kB / 466.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.3328, allocations: 4 kB / 466.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3328, allocations: 0 / 466.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3346, allocations: 1.063 MB / 467.8 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3346, allocations: 4.094 kB / 467.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.335, allocations: 59.97 kB / 467.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.3351, allocations: 61.61 kB / 467.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3352, allocations: 8 kB / 467.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.3377, allocations: 2.797 MB / 470.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3377, allocations: 0 / 470.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3387, allocations: 0.6325 MB / 471.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3389, allocations: 59.47 kB / 471.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.3389, allocations: 8.062 kB / 471.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.3392, allocations: 20.05 kB / 471.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.3393, allocations: 31.89 kB / 471.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3393, allocations: 8 kB / 471.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000611/0.3399, allocations: 435 kB / 471.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3399, allocations: 3.938 kB / 471.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009703/0.3409, allocations: 156 kB / 472.1 MB, free: 13.26 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.0001438/0.341, allocations: 103.2 kB / 472.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3422, allocations: 0.6438 MB / 472.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3422, allocations: 0 / 472.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.3427, allocations: 354.5 kB / 473.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3433, allocations: 89.36 kB / 473.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.3465, allocations: 1.892 MB / 475.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.347, allocations: 446.9 kB / 475.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3472, allocations: 59.42 kB / 475.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3472, allocations: 0 / 475.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of Templates: time 0.02719/0.3744, allocations: 20.08 MB / 495.7 MB, free: 5.461 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.206090177001897]