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.001288/0.001288, allocations: 110 kB / 20.43 MB, free: 1.453 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.001929/0.001929, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.002892/0.002892, allocations: 63.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2631, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.00746/0.2706, allocations: 6.067 MB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.2741, allocations: 1.745 MB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.2746, allocations: 43.69 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.2752, allocations: 241.6 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.2757, allocations: 225.7 kB / 439.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2767, allocations: 0.5265 MB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2782, allocations: 1.387 MB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.279, allocations: 448.3 kB / 441.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.2796, allocations: 0.4903 MB / 442.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.2802, allocations: 0.4895 MB / 442.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.2803, allocations: 120 kB / 443 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2805, allocations: 140 kB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.2808, allocations: 263 kB / 443.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.2813, allocations: 0.6216 MB / 444 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.283, allocations: 1.634 MB / 445.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.283, allocations: 7.938 kB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.283, allocations: 0 / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.283, allocations: 0 / 445.6 MB, free: 8.172 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.002152/0.2852, allocations: 1.428 MB / 447 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2852, allocations: 8.031 kB / 447.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.2854, allocations: 185.6 kB / 447.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.2858, allocations: 163 kB / 447.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.287, allocations: 0.6989 MB / 448.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.2871, allocations: 90.41 kB / 448.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.2873, allocations: 120 kB / 448.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2892, allocations: 1.26 MB / 449.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.2892, allocations: 15.88 kB / 449.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.2893, allocations: 48 kB / 449.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.2893, allocations: 32 kB / 449.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2906, allocations: 0.6929 MB / 450.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.2968, allocations: 6.668 MB / 457 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.2974, allocations: 253.3 kB / 457.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2978, allocations: 157.6 kB / 457.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/0.2979, allocations: 4 kB / 457.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.2979, allocations: 42.5 kB / 457.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.824e-06/0.2979, allocations: 4 kB / 457.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00235/0.3003, allocations: 1.274 MB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3003, allocations: 81.11 kB / 458.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.3011, allocations: 0.6648 MB / 459.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3011, allocations: 33.7 kB / 459.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.3016, allocations: 0.7054 MB / 460.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3017, allocations: 126.9 kB / 460.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.3019, allocations: 138.6 kB / 460.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3021, allocations: 386.7 kB / 460.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.3024, allocations: 149.9 kB / 461 MB, free: 8.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.303, allocations: 0.5549 MB / 461.6 MB, free: 7.289 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.001092/0.3041, allocations: 0.806 MB / 462.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.3041, allocations: 4 kB / 462.4 MB, free: 6.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001309/0.3054, allocations: 0.799 MB / 463.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3054, allocations: 12 kB / 463.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.3054, allocations: 12.75 kB / 463.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/0.3057, allocations: 85.67 kB / 463.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.3062, allocations: 183.7 kB / 463.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.3089, allocations: 3.118 MB / 466.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.3093, allocations: 31.98 kB / 466.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.3093, allocations: 40 kB / 466.6 MB, free: 1.766 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.0003862/0.3097, allocations: 280.5 kB / 466.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3098, allocations: 75.53 kB / 467 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3099, allocations: 70.34 kB / 467.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.31, allocations: 4 kB / 467.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.31, allocations: 4 kB / 467.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.31, allocations: 0 / 467.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3118, allocations: 1.227 MB / 468.3 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3118, allocations: 4 kB / 468.3 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3121, allocations: 67.89 kB / 468.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.3122, allocations: 57.81 kB / 468.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3123, allocations: 11.98 kB / 468.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.3144, allocations: 2.846 MB / 471.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.3144, allocations: 4.031 kB / 471.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.3154, allocations: 0.6286 MB / 471.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3155, allocations: 71.53 kB / 472 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3155, allocations: 8 kB / 472 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3158, allocations: 15.98 kB / 472 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3158, allocations: 31.89 kB / 472 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3159, allocations: 12 kB / 472 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005053/0.3164, allocations: 435 kB / 472.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3164, allocations: 4 kB / 472.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008541/0.3172, allocations: 156 kB / 472.6 MB, free: 11.43 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.001221/0.3184, allocations: 1.199 MB / 473.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.3195, allocations: 0.6317 MB / 474.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3195, allocations: 3.938 kB / 474.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.32, allocations: 365.4 kB / 474.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.3206, allocations: 74.95 kB / 474.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/0.3293, allocations: 6.46 MB / 481.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.33, allocations: 1.038 MB / 482.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.3303, allocations: 90 kB / 482.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.3307, allocations: 427.3 kB / 482.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3307, allocations: 4 kB / 482.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.3789, allocations: 13.34 MB / 496.2 MB, free: 3.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.52, allocations: 11.98 kB / 496.3 MB, free: 3.27 MB / 398.1 MB " [Timeout remaining time 647] (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.92733152099754]