Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 207.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 59.91 kB / 377.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2759, allocations: 53.41 MB / 431.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00818/0.2841, allocations: 5.293 MB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.2883, allocations: 1.691 MB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2898, allocations: 43.69 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.2909, allocations: 245.6 kB / 438.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2921, allocations: 221.7 kB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.2936, allocations: 0.5188 MB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.2959, allocations: 1.395 MB / 440.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.2968, allocations: 414 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008304/0.2976, allocations: 498.1 kB / 441.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.2981, allocations: 441.2 kB / 441.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.2983, allocations: 120 kB / 442 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.2985, allocations: 139.9 kB / 442.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.2988, allocations: 267 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.2992, allocations: 489.5 kB / 442.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.301, allocations: 1.649 MB / 444.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.301, allocations: 0 / 444.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.301, allocations: 0 / 444.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.301, allocations: 0 / 444.5 MB, free: 8.973 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.002521/0.3036, allocations: 1.424 MB / 445.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.3036, allocations: 15.98 kB / 446 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.3038, allocations: 177.7 kB / 446.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.3042, allocations: 170.9 kB / 446.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.3055, allocations: 0.695 MB / 447 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/0.3056, allocations: 86.41 kB / 447.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.3057, allocations: 124 kB / 447.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3077, allocations: 1.318 MB / 448.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.3077, allocations: 7.938 kB / 448.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.3078, allocations: 52 kB / 448.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.3078, allocations: 35.98 kB / 448.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3091, allocations: 0.6851 MB / 449.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.315, allocations: 6.435 MB / 455.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.3156, allocations: 245.2 kB / 456 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.316, allocations: 157.6 kB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-05/0.3161, allocations: 4 kB / 456.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3161, allocations: 38.56 kB / 456.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.3161, allocations: 0 / 456.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002323/0.3184, allocations: 1.277 MB / 457.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3185, allocations: 85.11 kB / 457.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.3192, allocations: 0.6802 MB / 458.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3193, allocations: 33.7 kB / 458.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.3197, allocations: 0.7015 MB / 458.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.3198, allocations: 131 kB / 459.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.32, allocations: 142.5 kB / 459.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3202, allocations: 390.7 kB / 459.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3205, allocations: 145.9 kB / 459.7 MB, free: 9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.3211, allocations: 0.5472 MB / 460.3 MB, free: 8.258 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.3222, allocations: 0.7964 MB / 461.1 MB, free: 7.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3222, allocations: 11.94 kB / 461.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001327/0.3235, allocations: 0.7939 MB / 461.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3235, allocations: 12 kB / 461.9 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3235, allocations: 12.81 kB / 461.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.3238, allocations: 89.67 kB / 462 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.3243, allocations: 179.7 kB / 462.2 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.327, allocations: 3.102 MB / 465.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.3274, allocations: 39.92 kB / 465.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.3274, allocations: 44 kB / 465.4 MB, free: 2.742 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.0003989/0.3278, allocations: 276.7 kB / 465.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3279, allocations: 79.48 kB / 465.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.328, allocations: 70.34 kB / 465.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.328, allocations: 4 kB / 465.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.328, allocations: 0 / 465.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3281, allocations: 8.156 kB / 465.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.3298, allocations: 1.195 MB / 467 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3298, allocations: 0 / 467 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.3301, allocations: 67.95 kB / 467 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.3303, allocations: 53.78 kB / 467.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3303, allocations: 11.94 kB / 467.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.3326, allocations: 2.827 MB / 469.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3326, allocations: 11.95 kB / 469.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.3335, allocations: 0.6365 MB / 470.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3336, allocations: 67.47 kB / 470.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.3336, allocations: 8.062 kB / 470.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3339, allocations: 15.98 kB / 470.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.334, allocations: 27.89 kB / 470.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.334, allocations: 12 kB / 470.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005511/0.3345, allocations: 439 kB / 471.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3345, allocations: 7.938 kB / 471.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008533/0.3354, allocations: 156 kB / 471.3 MB, free: 12.46 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.001301/0.3367, allocations: 1.191 MB / 472.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3379, allocations: 0.6323 MB / 473.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3379, allocations: 0 / 473.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.3384, allocations: 358.4 kB / 473.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.3389, allocations: 79.23 kB / 473.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.3491, allocations: 6.464 MB / 480 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.3496, allocations: 454.9 kB / 480.5 MB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002759/0.3499, allocations: 86.02 kB / 480.5 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.3504, allocations: 427.3 kB / 481 MB, free: 2.117 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3504, allocations: 0 / 481 MB, free: 2.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06955/0.42, allocations: 13.5 MB / 494.5 MB, free: 4.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.13, allocations: 7.922 kB / 494.5 MB, free: 4.812 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.756016030907631]