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.001276/0.001276, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00145/0.00145, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9337/0.9337, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.026e-05, allocations: 2.281 kB / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005005/0.005025, allocations: 5.257 MB / 323.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.007708, allocations: 1.617 MB / 325.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.008227, allocations: 47.69 kB / 325.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.008629, allocations: 253.5 kB / 325.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.009024, allocations: 233.5 kB / 325.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.009882, allocations: 0.5071 MB / 326.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.01104, allocations: 1.422 MB / 327.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.01161, allocations: 416.2 kB / 328.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.01231, allocations: 0.725 MB / 328.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01262, allocations: 342.7 kB / 329.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.01273, allocations: 120 kB / 329.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.01289, allocations: 132 kB / 329.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01303, allocations: 274.9 kB / 329.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.01331, allocations: 395 kB / 330.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.01444, allocations: 1.616 MB / 331.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01445, allocations: 0 / 331.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01445, allocations: 0 / 331.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.555e-05/0.01448, allocations: 0 / 331.8 MB, free: 8.934 MB / 298.7 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.001693/0.01618, allocations: 1.416 MB / 333.2 MB, free: 7.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.01622, allocations: 12.92 kB / 333.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.01636, allocations: 177.7 kB / 333.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.01651, allocations: 151.1 kB / 333.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.01738, allocations: 0.6757 MB / 334.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.01742, allocations: 90.39 kB / 334.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.01753, allocations: 123.9 kB / 334.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.01885, allocations: 1.318 MB / 335.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.01888, allocations: 7.938 kB / 335.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.01894, allocations: 52 kB / 335.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.01896, allocations: 32 kB / 335.8 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.01982, allocations: 0.6851 MB / 336.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.02397, allocations: 6.399 MB / 342.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.02447, allocations: 249.3 kB / 343.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.02472, allocations: 177.5 kB / 343.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.02484, allocations: 11.98 kB / 343.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.02486, allocations: 35.06 kB / 343.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.055e-06/0.02487, allocations: 0 / 343.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001767/0.02663, allocations: 1.277 MB / 344.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.02668, allocations: 89.09 kB / 344.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.02727, allocations: 0.6879 MB / 345.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.02729, allocations: 29.7 kB / 345.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.02761, allocations: 0.6977 MB / 346.1 MB, free: 9.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.02768, allocations: 123 kB / 346.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.02782, allocations: 142.5 kB / 346.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.02795, allocations: 382.8 kB / 346.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.02813, allocations: 145.9 kB / 346.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.02852, allocations: 0.5549 MB / 347.5 MB, free: 8.27 MB / 314.7 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.0008435/0.02937, allocations: 0.798 MB / 348.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.02937, allocations: 4 kB / 348.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008659/0.03024, allocations: 0.7993 MB / 349.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.03026, allocations: 12 kB / 349.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.03028, allocations: 15.98 kB / 349.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.03046, allocations: 77.69 kB / 349.2 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.03078, allocations: 180.1 kB / 349.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.0328, allocations: 3.098 MB / 352.4 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.03306, allocations: 35.98 kB / 352.5 MB, free: 2.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.0331, allocations: 44 kB / 352.5 MB, free: 2.773 MB / 314.7 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.0003685/0.03347, allocations: 281.4 kB / 352.8 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.03354, allocations: 79.42 kB / 352.9 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.03361, allocations: 74.34 kB / 352.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.03361, allocations: 4 kB / 352.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.03362, allocations: 0 / 352.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03362, allocations: 0 / 352.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.03485, allocations: 1.192 MB / 354.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.03486, allocations: 0 / 354.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.03503, allocations: 67.89 kB / 354.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.03513, allocations: 57.72 kB / 354.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.03515, allocations: 8 kB / 354.3 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.03653, allocations: 2.835 MB / 357.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.03653, allocations: 7.922 kB / 357.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.03711, allocations: 0.6355 MB / 357.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.03717, allocations: 63.47 kB / 357.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.03719, allocations: 12.19 kB / 357.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.03733, allocations: 19.98 kB / 357.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.03739, allocations: 27.89 kB / 357.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.03741, allocations: 12 kB / 357.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003752/0.03778, allocations: 435 kB / 358.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03778, allocations: 0 / 358.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.03842, allocations: 156 kB / 358.5 MB, free: 12.49 MB / 330.7 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.0007656/0.03919, allocations: 1.184 MB / 359.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.04001, allocations: 0.6323 MB / 360.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.04001, allocations: 0 / 360.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.04029, allocations: 365.1 kB / 360.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.04071, allocations: 71.3 kB / 360.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.0473, allocations: 6.287 MB / 367 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.04775, allocations: 454.8 kB / 367.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.04801, allocations: 82.03 kB / 367.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.04839, allocations: 428.3 kB / 367.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of SimCode: time 2.344e-06/0.04839, allocations: 0 / 367.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.08447, allocations: 13.59 MB / 381.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.492, allocations: 7.938 kB / 381.5 MB, free: 5.035 MB / 346.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/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] "Error: Could not read variable directCapacitor1.capacitor.v in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.312924386002123]