Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001328/0.001328, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001429/0.001429, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 51.94 kB / 347.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 49.15 MB / 396.4 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005678/0.257, allocations: 5.994 MB / 402.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.26, allocations: 1.709 MB / 404.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.2606, allocations: 41.5 kB / 404.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.2611, allocations: 248.5 kB / 404.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.2616, allocations: 222.5 kB / 404.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2626, allocations: 0.5047 MB / 405.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.264, allocations: 1.392 MB / 406.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.2647, allocations: 451.3 kB / 406.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.2653, allocations: 495.9 kB / 407.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.2659, allocations: 0.4931 MB / 407.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2661, allocations: 122 kB / 408 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.2663, allocations: 134.8 kB / 408.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.2665, allocations: 264.3 kB / 408.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.267, allocations: 0.613 MB / 409 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2688, allocations: 1.637 MB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2688, allocations: 0 / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2688, allocations: 0 / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.2688, allocations: 0 / 410.6 MB, free: 15.8 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.002433/0.2712, allocations: 1.42 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.2713, allocations: 12.8 kB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002728/0.2716, allocations: 176.8 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.2719, allocations: 151.8 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.2733, allocations: 0.6918 MB / 413.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.2733, allocations: 86.41 kB / 413.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.2735, allocations: 117.7 kB / 413.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.2757, allocations: 1.26 MB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.309e-05/0.2757, allocations: 7.5 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2758, allocations: 58.06 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.2759, allocations: 36 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2772, allocations: 0.6817 MB / 415.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006766/0.2839, allocations: 6.673 MB / 422 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.2846, allocations: 248.5 kB / 422.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.285, allocations: 160.9 kB / 422.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.2851, allocations: 6.5 kB / 422.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2851, allocations: 49.16 kB / 422.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.2851, allocations: 0 / 422.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002595/0.2877, allocations: 1.279 MB / 423.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.2878, allocations: 84.42 kB / 423.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.2886, allocations: 0.6704 MB / 424.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.2887, allocations: 31.08 kB / 424.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.2892, allocations: 0.6955 MB / 425.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2893, allocations: 123.2 kB / 425.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.2895, allocations: 146.5 kB / 425.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2897, allocations: 383.4 kB / 425.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.29, allocations: 148.3 kB / 426 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.2907, allocations: 0.5536 MB / 426.5 MB, free: 2.621 MB / 334.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.001186/0.2919, allocations: 0.7977 MB / 427.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2919, allocations: 4.125 kB / 427.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001394/0.2933, allocations: 0.7961 MB / 428.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2933, allocations: 11.44 kB / 428.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.2933, allocations: 15.31 kB / 428.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.2936, allocations: 81.75 kB / 428.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.2941, allocations: 186.8 kB / 428.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.297, allocations: 3.113 MB / 431.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.2974, allocations: 29.88 kB / 431.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.2975, allocations: 44.05 kB / 431.6 MB, free: 14.23 MB / 350.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.000482/0.298, allocations: 273 kB / 431.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2981, allocations: 78.25 kB / 432 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.2982, allocations: 75.72 kB / 432 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2982, allocations: 3.812 kB / 432 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2982, allocations: 1.125 kB / 432 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2982, allocations: 5.172 kB / 432 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3005, allocations: 1.223 MB / 433.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3005, allocations: 4 kB / 433.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3008, allocations: 67.89 kB / 433.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.3009, allocations: 53.69 kB / 433.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.301, allocations: 12.09 kB / 433.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.3035, allocations: 2.854 MB / 436.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3035, allocations: 8.094 kB / 436.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.3045, allocations: 0.6354 MB / 436.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3046, allocations: 59.48 kB / 437 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.3047, allocations: 8.062 kB / 437 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3049, allocations: 19.92 kB / 437 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.305, allocations: 31.89 kB / 437 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.305, allocations: 12 kB / 437 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005898/0.3056, allocations: 435 kB / 437.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3056, allocations: 0 / 437.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009844/0.3066, allocations: 156 kB / 437.6 MB, free: 8.273 MB / 350.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.001289/0.3079, allocations: 1.185 MB / 438.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3092, allocations: 0.6398 MB / 439.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3092, allocations: 0 / 439.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.3097, allocations: 354.5 kB / 439.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.3103, allocations: 75.55 kB / 439.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009841/0.3201, allocations: 6.428 MB / 446.3 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.3209, allocations: 1.034 MB / 447.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002708/0.3212, allocations: 85.97 kB / 447.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.3217, allocations: 427.3 kB / 447.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3217, allocations: 0 / 447.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/0.378, allocations: 13.31 MB / 461.1 MB, free: 56 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.73, allocations: 7.969 kB / 461.1 MB, free: 48 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacitor1.capacitor.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable directInductor3.inductor.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directInductor3.inductor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.310515402998135]