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.001802/0.001802, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002024/0.002024, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.366/1.366, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001463/0.001463, allocations: 51.92 kB / 365.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09422, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007375/0.1016, allocations: 6.028 MB / 423.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.1048, allocations: 1.652 MB / 425.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006629/0.1055, allocations: 39.75 kB / 425.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.1061, allocations: 249.5 kB / 425.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.1066, allocations: 217.7 kB / 426 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1077, allocations: 0.5032 MB / 426.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.1091, allocations: 1.383 MB / 427.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.1098, allocations: 447.8 kB / 428.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.1103, allocations: 494.1 kB / 428.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.1108, allocations: 0.4973 MB / 429.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1109, allocations: 120 kB / 429.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1112, allocations: 140 kB / 429.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1114, allocations: 267 kB / 429.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.1119, allocations: 0.6062 MB / 430.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.1136, allocations: 1.634 MB / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1136, allocations: 0 / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1136, allocations: 0 / 432 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.1136, allocations: 0 / 432 MB, free: 14.3 MB / 366.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.002168/0.1157, allocations: 1.496 MB / 433.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1158, allocations: 8.031 kB / 433.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.116, allocations: 177.7 kB / 433.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.1162, allocations: 147.1 kB / 433.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.1174, allocations: 0.7711 MB / 434.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.1175, allocations: 86.41 kB / 434.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.1176, allocations: 120 kB / 434.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.1196, allocations: 1.264 MB / 436.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.1196, allocations: 7.938 kB / 436.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.1197, allocations: 52 kB / 436.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.1197, allocations: 32 kB / 436.2 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1211, allocations: 0.6929 MB / 436.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.1271, allocations: 6.802 MB / 443.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.1278, allocations: 245.2 kB / 443.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.1282, allocations: 157.7 kB / 444.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1283, allocations: 89.09 kB / 444.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1283, allocations: 42.5 kB / 444.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.1283, allocations: 0 / 444.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.187/0.3153, allocations: 1.428 MB / 445.6 MB, free: 30.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.3154, allocations: 79.73 kB / 445.7 MB, free: 29.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.3161, allocations: 0.6602 MB / 446.4 MB, free: 29.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.3161, allocations: 32.64 kB / 446.4 MB, free: 29.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.3164, allocations: 0.7016 MB / 447.1 MB, free: 29.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.3165, allocations: 119.2 kB / 447.2 MB, free: 29.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3166, allocations: 142 kB / 447.3 MB, free: 29.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.3167, allocations: 384 kB / 447.7 MB, free: 29.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.317, allocations: 149 kB / 447.9 MB, free: 29.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.3173, allocations: 0.5487 MB / 448.4 MB, free: 28.72 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.0008465/0.3182, allocations: 0.9555 MB / 449.4 MB, free: 28.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3182, allocations: 2.5 kB / 449.4 MB, free: 28.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001099/0.3193, allocations: 0.8012 MB / 450.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3193, allocations: 11.28 kB / 450.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.3193, allocations: 15.28 kB / 450.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.3196, allocations: 88.78 kB / 450.3 MB, free: 27.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.3201, allocations: 181.7 kB / 450.5 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.3217, allocations: 3.329 MB / 453.8 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.3221, allocations: 29.88 kB / 453.8 MB, free: 24.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3221, allocations: 43.44 kB / 453.9 MB, free: 24.83 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.0003069/0.3224, allocations: 276.9 kB / 454.1 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.3225, allocations: 82.86 kB / 454.2 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3226, allocations: 71.33 kB / 454.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3226, allocations: 3.406 kB / 454.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3227, allocations: 1.094 kB / 454.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3227, allocations: 2.812 kB / 454.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.3242, allocations: 1.253 MB / 455.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3242, allocations: 2.016 kB / 455.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.3246, allocations: 69.2 kB / 455.6 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.3247, allocations: 56.67 kB / 455.7 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3247, allocations: 8.859 kB / 455.7 MB, free: 24.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3261, allocations: 3.051 MB / 458.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3261, allocations: 1.75 kB / 458.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.3269, allocations: 0.636 MB / 459.4 MB, free: 20.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.3269, allocations: 145.9 kB / 459.5 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.327, allocations: 8.047 kB / 459.5 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3272, allocations: 17.22 kB / 459.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.3273, allocations: 26.66 kB / 459.6 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3273, allocations: 8.516 kB / 459.6 MB, free: 20.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000564/0.3279, allocations: 437.2 kB / 460 MB, free: 20.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3279, allocations: 0 / 460 MB, free: 20.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009242/0.3288, allocations: 155.2 kB / 460.1 MB, free: 20.25 MB / 366.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.0009184/0.3297, allocations: 1.195 MB / 461.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000934/0.3307, allocations: 0.632 MB / 462 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3307, allocations: 1.562 kB / 462 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.3311, allocations: 359.9 kB / 462.3 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.3316, allocations: 75.95 kB / 462.4 MB, free: 18.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.3388, allocations: 6.451 MB / 468.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3393, allocations: 1.034 MB / 469.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.3396, allocations: 84.5 kB / 470 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.34, allocations: 422 kB / 470.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.34, allocations: 0 / 470.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/0.3927, allocations: 12.78 MB / 483.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.27, allocations: 18.11 kB / 483.2 MB, free: 8.91 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 13.666531135328114]