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.001795/0.001795, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001568/0.001568, allocations: 186.4 kB / 23.7 MB, free: 4.191 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.371/1.371, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.002494/0.002494, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2924, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007509/0.2999, allocations: 5.275 MB / 427.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.3041, allocations: 1.605 MB / 429.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.3054, allocations: 39.75 kB / 429.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3067, allocations: 253.5 kB / 429.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.308, allocations: 221.7 kB / 430 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.3099, allocations: 0.5032 MB / 430.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.3125, allocations: 1.387 MB / 431.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.3137, allocations: 414 kB / 432.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/0.3147, allocations: 0.4903 MB / 432.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008263/0.3155, allocations: 429.2 kB / 433.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.3157, allocations: 120 kB / 433.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.3161, allocations: 144 kB / 433.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.3164, allocations: 259.1 kB / 433.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000686/0.3171, allocations: 489.4 kB / 434.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.3196, allocations: 1.638 MB / 435.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3196, allocations: 4 kB / 435.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3196, allocations: 4 kB / 435.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.15e-05/0.3196, allocations: 3.938 kB / 435.8 MB, free: 1.078 MB / 334.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.00334/0.323, allocations: 1.42 MB / 437.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.323, allocations: 16.03 kB / 437.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002899/0.3233, allocations: 177.7 kB / 437.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.3236, allocations: 147.1 kB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.3258, allocations: 0.6833 MB / 438.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3259, allocations: 90.41 kB / 438.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.3262, allocations: 120 kB / 438.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.3296, allocations: 1.318 MB / 439.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/0.3297, allocations: 11.89 kB / 439.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.3298, allocations: 52 kB / 439.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.3299, allocations: 32 kB / 439.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.3323, allocations: 0.689 MB / 440.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.3429, allocations: 6.419 MB / 447 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.344, allocations: 245.3 kB / 447.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.3446, allocations: 161.6 kB / 447.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.3447, allocations: 11.98 kB / 447.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3448, allocations: 42.56 kB / 447.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.296e-06/0.3448, allocations: 0 / 447.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004073/0.3489, allocations: 1.278 MB / 448.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.3489, allocations: 81.11 kB / 448.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3503, allocations: 0.6879 MB / 449.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.3504, allocations: 37.7 kB / 449.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000796/0.3512, allocations: 0.6937 MB / 450.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.3513, allocations: 123 kB / 450.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.3516, allocations: 146.5 kB / 450.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.3519, allocations: 382.8 kB / 450.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.3525, allocations: 149.9 kB / 451 MB, free: 1.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3535, allocations: 0.551 MB / 451.5 MB, free: 412 kB / 350.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.002056/0.3555, allocations: 0.7957 MB / 452.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.3556, allocations: 8 kB / 452.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00242/0.358, allocations: 0.7907 MB / 453.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.358, allocations: 20.17 kB / 453.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.358, allocations: 12 kB / 453.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.3584, allocations: 85.56 kB / 453.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3594, allocations: 179.7 kB / 453.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.3639, allocations: 3.107 MB / 456.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.3646, allocations: 35.98 kB / 456.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.3647, allocations: 44 kB / 456.6 MB, free: 10.89 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.0006825/0.3654, allocations: 273.4 kB / 456.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.3656, allocations: 71.53 kB / 456.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3658, allocations: 74.34 kB / 457 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3658, allocations: 8.062 kB / 457 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3658, allocations: 0 / 457 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3658, allocations: 0 / 457 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.3691, allocations: 1.184 MB / 458.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3691, allocations: 0 / 458.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.3698, allocations: 75.92 kB / 458.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.3701, allocations: 57.72 kB / 458.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.3701, allocations: 8 kB / 458.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.374, allocations: 2.842 MB / 461.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.374, allocations: 128 / 461.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3756, allocations: 0.6393 MB / 461.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.3758, allocations: 67.53 kB / 461.9 MB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.3759, allocations: 8 kB / 461.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.3764, allocations: 19.98 kB / 461.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3765, allocations: 31.83 kB / 461.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.3765, allocations: 12 kB / 462 MB, free: 5.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009272/0.3774, allocations: 439 kB / 462.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3774, allocations: 0 / 462.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001571/0.379, allocations: 152 kB / 462.5 MB, free: 4.605 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.002108/0.3811, allocations: 1.188 MB / 463.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.383, allocations: 0.6408 MB / 464.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.383, allocations: 0 / 464.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.3837, allocations: 357.4 kB / 464.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.3846, allocations: 79.48 kB / 464.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.3996, allocations: 6.444 MB / 471.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.4004, allocations: 450.9 kB / 471.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004523/0.4008, allocations: 86.02 kB / 471.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000753/0.4016, allocations: 423.3 kB / 472.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4016, allocations: 0 / 472.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05139/0.453, allocations: 13.44 MB / 485.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 6.734 kB / 485.6 MB, free: 13.14 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.789800222963095]