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.001781/0.001781, allocations: 123 kB / 17.79 MB, free: 5.246 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.002006/0.002006, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 53.32 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2464/0.3567, allocations: 6.035 MB / 432.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.3599, allocations: 1.735 MB / 434.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.3606, allocations: 42.78 kB / 434.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3611, allocations: 251.8 kB / 434.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.3615, allocations: 215.6 kB / 434.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.3625, allocations: 0.5207 MB / 435.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3636, allocations: 1.393 MB / 436.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.3643, allocations: 447 kB / 437 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.3649, allocations: 494.6 kB / 437.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.3654, allocations: 0.495 MB / 437.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.3656, allocations: 122.7 kB / 438.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.3658, allocations: 138.2 kB / 438.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.366, allocations: 269.4 kB / 438.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.3664, allocations: 0.6136 MB / 439.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.3683, allocations: 1.645 MB / 440.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3683, allocations: 1.469 kB / 440.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3683, allocations: 0 / 440.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.245e-05/0.3684, allocations: 0 / 440.7 MB, free: 4.578 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.002191/0.3706, allocations: 1.493 MB / 442.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3706, allocations: 10.94 kB / 442.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.3708, allocations: 181.4 kB / 442.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.3712, allocations: 170.6 kB / 442.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3724, allocations: 0.767 MB / 443.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.3724, allocations: 89.66 kB / 443.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3726, allocations: 122.2 kB / 443.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.3745, allocations: 1.269 MB / 444.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.3745, allocations: 7.469 kB / 444.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.3746, allocations: 54.22 kB / 444.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3746, allocations: 32.19 kB / 444.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.376, allocations: 0.6877 MB / 445.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/0.3824, allocations: 6.802 MB / 452.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.3832, allocations: 246.5 kB / 452.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.3835, allocations: 164 kB / 452.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.3837, allocations: 88.86 kB / 452.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.3837, allocations: 36.81 kB / 452.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.3837, allocations: 0 / 452.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00286/0.3866, allocations: 1.429 MB / 454.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.3867, allocations: 81.19 kB / 454.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/0.3876, allocations: 0.6664 MB / 455.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3877, allocations: 30.8 kB / 455.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.3883, allocations: 0.7029 MB / 455.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3884, allocations: 121.1 kB / 455.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3886, allocations: 145 kB / 456.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.3889, allocations: 384.1 kB / 456.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.3892, allocations: 147.1 kB / 456.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.3899, allocations: 0.5535 MB / 457.1 MB, free: 8.457 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.001297/0.3912, allocations: 0.9582 MB / 458.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3912, allocations: 4.75 kB / 458.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001437/0.3926, allocations: 0.7942 MB / 458.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3927, allocations: 11 kB / 458.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3927, allocations: 16.09 kB / 458.9 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.3929, allocations: 84.58 kB / 459 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.3934, allocations: 178.5 kB / 459.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.3963, allocations: 3.329 MB / 462.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.3967, allocations: 37.53 kB / 462.6 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.3968, allocations: 44.28 kB / 462.6 MB, free: 3.84 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.0004523/0.3972, allocations: 276.9 kB / 462.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.3974, allocations: 73.59 kB / 462.9 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.3975, allocations: 69.7 kB / 463 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3975, allocations: 7.922 kB / 463 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3975, allocations: 2.125 kB / 463 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3975, allocations: 4 kB / 463 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3994, allocations: 1.245 MB / 464.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3994, allocations: 10.5 kB / 464.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.3997, allocations: 68.59 kB / 464.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.3999, allocations: 53.02 kB / 464.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3999, allocations: 8.078 kB / 464.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.4023, allocations: 3.061 MB / 467.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4023, allocations: 1.062 kB / 467.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.4032, allocations: 0.6351 MB / 468.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4034, allocations: 147.5 kB / 468.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.4035, allocations: 6.406 kB / 468.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4037, allocations: 21.77 kB / 468.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.4038, allocations: 30.28 kB / 468.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4038, allocations: 7.031 kB / 468.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.4044, allocations: 440.3 kB / 468.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4044, allocations: 1.25 kB / 468.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00097/0.4054, allocations: 155 kB / 468.9 MB, free: 14.79 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.001254/0.4066, allocations: 1.187 MB / 470.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.4077, allocations: 0.63 MB / 470.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.4077, allocations: 7.875 kB / 470.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.4082, allocations: 347.2 kB / 471.1 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.4088, allocations: 76.09 kB / 471.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.4177, allocations: 6.465 MB / 477.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.4184, allocations: 1.034 MB / 478.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.4187, allocations: 87.38 kB / 478.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.4192, allocations: 427 kB / 479.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4192, allocations: 0 / 479.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.4676, allocations: 12.84 MB / 492 MB, free: 12.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.95, allocations: 17.12 kB / 492 MB, free: 12.72 MB / 398.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/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] "Error: Could not read variable directCapacitor1.capacitor.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.588362194001093]