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.001718/0.001718, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002194/0.002194, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001452/0.001452, allocations: 51.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2671, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007721/0.2749, allocations: 6.065 MB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.2781, allocations: 1.745 MB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005033/0.2786, allocations: 43.69 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.2792, allocations: 253.5 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.2797, allocations: 217.7 kB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.2806, allocations: 0.5226 MB / 440 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.282, allocations: 1.395 MB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006921/0.2827, allocations: 448.3 kB / 441.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.2833, allocations: 494.1 kB / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.2839, allocations: 0.5012 MB / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.284, allocations: 123.9 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.2842, allocations: 136 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.2844, allocations: 267 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.2849, allocations: 0.6139 MB / 443.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2865, allocations: 1.642 MB / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2865, allocations: 0 / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2865, allocations: 0 / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.2865, allocations: 4 kB / 445.6 MB, free: 8.355 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.00207/0.2886, allocations: 1.424 MB / 447 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2886, allocations: 8.031 kB / 447 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.2888, allocations: 177.7 kB / 447.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.2892, allocations: 163 kB / 447.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2904, allocations: 0.6989 MB / 448 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.2905, allocations: 90.41 kB / 448.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.2906, allocations: 120 kB / 448.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.2925, allocations: 1.268 MB / 449.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.2925, allocations: 11.92 kB / 449.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.2926, allocations: 48 kB / 449.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.2926, allocations: 32 kB / 449.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2938, allocations: 0.689 MB / 450.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005967/0.2998, allocations: 6.68 MB / 457 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.3005, allocations: 245.3 kB / 457.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.3008, allocations: 153.6 kB / 457.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3009, allocations: 11.98 kB / 457.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.3009, allocations: 38.56 kB / 457.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.301, allocations: 0 / 457.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002364/0.3033, allocations: 1.279 MB / 458.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3034, allocations: 81.09 kB / 458.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007523/0.3041, allocations: 0.6687 MB / 459.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3041, allocations: 33.7 kB / 459.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.3046, allocations: 0.6976 MB / 460.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.3047, allocations: 127 kB / 460.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3049, allocations: 146.5 kB / 460.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3051, allocations: 390.8 kB / 460.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3054, allocations: 145.9 kB / 461 MB, free: 8.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.3059, allocations: 0.5549 MB / 461.5 MB, free: 7.473 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.0011/0.307, allocations: 0.8139 MB / 462.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.307, allocations: 4 kB / 462.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001307/0.3083, allocations: 0.7997 MB / 463.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3084, allocations: 12 kB / 463.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3084, allocations: 16.09 kB / 463.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.3086, allocations: 81.62 kB / 463.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.3092, allocations: 179.7 kB / 463.4 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3119, allocations: 3.118 MB / 466.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3123, allocations: 28.12 kB / 466.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.3124, allocations: 48 kB / 466.6 MB, free: 1.941 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.0004499/0.3128, allocations: 279.1 kB / 466.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.313, allocations: 75.53 kB / 467 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.3131, allocations: 70.34 kB / 467 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3131, allocations: 4 kB / 467 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3131, allocations: 4 kB / 467 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3131, allocations: 0 / 467 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.315, allocations: 1.223 MB / 468.3 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.315, allocations: 4 kB / 468.3 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3153, allocations: 63.91 kB / 468.3 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.3155, allocations: 57.77 kB / 468.4 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3155, allocations: 8 kB / 468.4 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.3178, allocations: 2.85 MB / 471.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.3178, allocations: 8.016 kB / 471.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.3188, allocations: 0.6287 MB / 471.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3189, allocations: 63.55 kB / 471.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.319, allocations: 8 kB / 471.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3192, allocations: 15.98 kB / 472 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.3193, allocations: 35.83 kB / 472 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3193, allocations: 8 kB / 472 MB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005858/0.3199, allocations: 443 kB / 472.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3199, allocations: 3.938 kB / 472.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009018/0.3208, allocations: 152 kB / 472.6 MB, free: 11.62 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.001296/0.3221, allocations: 1.19 MB / 473.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.3232, allocations: 0.6365 MB / 474.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.3232, allocations: 4.625 kB / 474.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.3237, allocations: 357.1 kB / 474.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.3242, allocations: 74.08 kB / 474.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3343, allocations: 6.475 MB / 481.3 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007974/0.3351, allocations: 1.031 MB / 482.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.3354, allocations: 86.03 kB / 482.4 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.3359, allocations: 423.3 kB / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3359, allocations: 0 / 482.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06891/0.4048, allocations: 13.37 MB / 496.2 MB, free: 3.504 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.35, allocations: 8.438 kB / 496.2 MB, free: 3.496 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.729143794000265]