Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001778/0.001778, allocations: 115.6 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.002181/0.002181, 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3011, allocations: 53.38 MB / 431.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005774/0.3068, allocations: 4.301 MB / 435.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3087, allocations: 1.024 MB / 436.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.309, allocations: 11.94 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3092, allocations: 99 kB / 436.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.3097, allocations: 202.3 kB / 436.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.3101, allocations: 191.7 kB / 437 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000794/0.3109, allocations: 0.7322 MB / 437.7 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.3112, allocations: 163.6 kB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.3116, allocations: 298.9 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.312, allocations: 330.5 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.662e-05/0.3121, allocations: 64 kB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3122, allocations: 60 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3124, allocations: 151.4 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.3127, allocations: 330.3 kB / 439.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.3135, allocations: 0.7235 MB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3135, allocations: 0 / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3135, allocations: 0 / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3135, allocations: 0 / 439.8 MB, free: 14.3 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001504/0.315, allocations: 0.8593 MB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3151, allocations: 12.03 kB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3152, allocations: 108 kB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.3156, allocations: 104.4 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.3162, allocations: 344.2 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3162, allocations: 49.62 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.3163, allocations: 48.38 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.3172, allocations: 0.5732 MB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3172, allocations: 0 / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.3173, allocations: 27.98 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.839e-05/0.3174, allocations: 12 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/0.3182, allocations: 472.9 kB / 442.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.3211, allocations: 2.036 MB / 444.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/0.3219, allocations: 0.515 MB / 444.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.3225, allocations: 362 kB / 445.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.3226, allocations: 8.5 kB / 445.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.3226, allocations: 39.06 kB / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.3226, allocations: 0 / 445.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004375/0.327, allocations: 1.736 MB / 447.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.327, allocations: 55.91 kB / 447.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.3275, allocations: 369.6 kB / 447.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.3275, allocations: 37.7 kB / 447.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3277, allocations: 245.3 kB / 447.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.3279, allocations: 214.2 kB / 448 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.328, allocations: 98.3 kB / 448.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3282, allocations: 362.7 kB / 448.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.3285, allocations: 165.2 kB / 448.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.3289, allocations: 212.8 kB / 448.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.3295, allocations: 386.1 kB / 449.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3295, allocations: 0 / 449.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001226/0.3308, allocations: 0.6602 MB / 449.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3308, allocations: 4 kB / 449.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3308, allocations: 3.938 kB / 449.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007371/0.3315, allocations: 263.2 kB / 450.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.3318, allocations: 59.89 kB / 450.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.339, allocations: 7.084 MB / 457.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3393, allocations: 20.14 kB / 457.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.3393, allocations: 20 kB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.3396, allocations: 173.7 kB / 457.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.3397, allocations: 55.61 kB / 457.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.3398, allocations: 69.03 kB / 457.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.3398, allocations: 8.062 kB / 457.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3398, allocations: 4.469 kB / 457.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3398, allocations: 3.984 kB / 457.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.342, allocations: 1.307 MB / 458.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.342, allocations: 0 / 458.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.3423, allocations: 59.91 kB / 459 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/0.343, allocations: 263.1 kB / 459.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.343, allocations: 15.98 kB / 459.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.35, allocations: 7.088 MB / 466.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.35, allocations: 3.984 kB / 466.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.3518, allocations: 1.017 MB / 467.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.352, allocations: 83.78 kB / 467.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.3521, allocations: 12 kB / 467.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3524, allocations: 15.98 kB / 467.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3525, allocations: 56.39 kB / 467.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.3525, allocations: 23.88 kB / 467.5 MB, free: 1.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000289/0.3528, allocations: 267.6 kB / 467.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3528, allocations: 0 / 467.8 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.3537, allocations: 176 kB / 468 MB, free: 0.8008 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002147/0.3558, allocations: 1.576 MB / 469.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3575, allocations: 1.009 MB / 470.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3575, allocations: 4.062 kB / 470.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.3587, allocations: 0.8292 MB / 471.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3592, allocations: 85.39 kB / 471.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007597/0.3668, allocations: 5.08 MB / 476.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.3674, allocations: 0.8909 MB / 477.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.3676, allocations: 52.55 kB / 477.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3678, allocations: 175.4 kB / 477.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3678, allocations: 0 / 477.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05583/0.4236, allocations: 14.48 MB / 492.1 MB, free: 8.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.58, allocations: 6.547 kB / 492.1 MB, free: 8.551 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Capacitor1.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.54243472899907]