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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002272/0.002272, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001515/0.001515, allocations: 47.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006935/0.2527, allocations: 5.3 MB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2561, allocations: 1.687 MB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.2567, allocations: 43.62 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.2573, allocations: 249.6 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005256/0.2578, allocations: 221.7 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2588, allocations: 0.5149 MB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2602, allocations: 1.399 MB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/0.2609, allocations: 450 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006189/0.2615, allocations: 494.1 kB / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.262, allocations: 0.4973 MB / 441.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.2622, allocations: 120 kB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.2625, allocations: 140 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.2627, allocations: 267 kB / 442.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.2631, allocations: 493.4 kB / 442.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.2648, allocations: 1.649 MB / 444.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2648, allocations: 3.938 kB / 444.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2648, allocations: 4 kB / 444.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.2648, allocations: 0 / 444.6 MB, free: 9.094 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.002056/0.2668, allocations: 1.417 MB / 446 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2669, allocations: 16.02 kB / 446 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.2671, allocations: 177.7 kB / 446.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.2674, allocations: 163 kB / 446.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2686, allocations: 0.695 MB / 447 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.2687, allocations: 90.41 kB / 447.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.2689, allocations: 124 kB / 447.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2708, allocations: 1.314 MB / 448.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2708, allocations: 7.938 kB / 448.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/0.2709, allocations: 48 kB / 448.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.2709, allocations: 32 kB / 448.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2722, allocations: 0.6929 MB / 449.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/0.2781, allocations: 6.419 MB / 455.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.2787, allocations: 253.2 kB / 456 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.2791, allocations: 157.6 kB / 456.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/0.2792, allocations: 8 kB / 456.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2792, allocations: 38.56 kB / 456.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.2792, allocations: 0 / 456.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002301/0.2815, allocations: 1.281 MB / 457.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2816, allocations: 89.05 kB / 457.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.2823, allocations: 0.6841 MB / 458.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2824, allocations: 25.7 kB / 458.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.2828, allocations: 0.7094 MB / 459 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.2829, allocations: 119 kB / 459.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2831, allocations: 146.5 kB / 459.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2833, allocations: 386.7 kB / 459.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.2836, allocations: 141.9 kB / 459.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.2841, allocations: 0.5549 MB / 460.3 MB, free: 8.395 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.001177/0.2853, allocations: 0.808 MB / 461.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.2853, allocations: 8 kB / 461.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001438/0.2868, allocations: 0.7984 MB / 461.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2868, allocations: 12 kB / 461.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.2868, allocations: 12 kB / 462 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.287, allocations: 85.61 kB / 462 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.2876, allocations: 175.7 kB / 462.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.2902, allocations: 3.11 MB / 465.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2906, allocations: 40.11 kB / 465.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.2906, allocations: 44 kB / 465.4 MB, free: 2.867 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.000436/0.291, allocations: 273.3 kB / 465.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2912, allocations: 83.61 kB / 465.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2913, allocations: 74.34 kB / 465.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2913, allocations: 4 kB / 465.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2913, allocations: 0 / 465.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2913, allocations: 0 / 465.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.2932, allocations: 1.188 MB / 467 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2932, allocations: 96 / 467 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2935, allocations: 67.95 kB / 467.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.2936, allocations: 61.7 kB / 467.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.2936, allocations: 8 kB / 467.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.296, allocations: 2.835 MB / 470 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.296, allocations: 4.031 kB / 470 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.2969, allocations: 0.6286 MB / 470.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.297, allocations: 71.53 kB / 470.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.2971, allocations: 8 kB / 470.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.2973, allocations: 20.05 kB / 470.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.2974, allocations: 31.83 kB / 470.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2974, allocations: 8 kB / 470.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000529/0.2979, allocations: 439 kB / 471.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2979, allocations: 4 kB / 471.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.2988, allocations: 152 kB / 471.3 MB, free: 12.59 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.001227/0.3, allocations: 1.187 MB / 472.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3012, allocations: 0.6326 MB / 473.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3012, allocations: 4.625 kB / 473.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.3017, allocations: 357.3 kB / 473.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3023, allocations: 77.81 kB / 473.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009429/0.3117, allocations: 6.47 MB / 480.1 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.3122, allocations: 450.9 kB / 480.5 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002919/0.3125, allocations: 86.02 kB / 480.6 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.313, allocations: 423.3 kB / 481 MB, free: 2.254 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.313, allocations: 0 / 481 MB, free: 2.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04813/0.3611, allocations: 13.75 MB / 494.7 MB, free: 4.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.99, allocations: 11.5 kB / 494.8 MB, free: 4.754 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.423982325010002]