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.001391/0.001391, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001554/0.001554, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.428/1.428, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002133/0.002133, allocations: 51.94 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1105, allocations: 53.32 MB / 426.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005476/0.116, allocations: 4.293 MB / 430.6 MB, free: 436 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1933/0.3092, allocations: 1.012 MB / 431.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.3096, allocations: 12.03 kB / 431.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3099, allocations: 95.47 kB / 431.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.3104, allocations: 204.4 kB / 432 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.3108, allocations: 186.8 kB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008201/0.3117, allocations: 0.7361 MB / 432.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.3119, allocations: 156.7 kB / 433 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.3124, allocations: 304.4 kB / 433.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.3127, allocations: 325.1 kB / 433.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.3128, allocations: 62.47 kB / 433.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3129, allocations: 63.19 kB / 433.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.3131, allocations: 146.6 kB / 433.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.3133, allocations: 331.7 kB / 434.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008203/0.3141, allocations: 0.7305 MB / 435 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3142, allocations: 1.969 kB / 435 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3142, allocations: 0 / 435 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.3142, allocations: 0 / 435 MB, free: 7 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.001554/0.3157, allocations: 0.9345 MB / 435.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3158, allocations: 13.69 kB / 435.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.3159, allocations: 109.4 kB / 436 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.3163, allocations: 96.89 kB / 436.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.3169, allocations: 403.6 kB / 436.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3169, allocations: 41.5 kB / 436.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.317, allocations: 61.52 kB / 436.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.3179, allocations: 0.5788 MB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3179, allocations: 1.094 kB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.318, allocations: 22.34 kB / 437.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.318, allocations: 15.16 kB / 437.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.3189, allocations: 474 kB / 437.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3214, allocations: 2.079 MB / 439.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.3222, allocations: 0.5929 MB / 440.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.3228, allocations: 359.5 kB / 440.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.3229, allocations: 11.06 kB / 440.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3229, allocations: 40.41 kB / 440.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.3229, allocations: 4 kB / 440.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00437/0.3273, allocations: 2.025 MB / 442.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.3273, allocations: 57.97 kB / 442.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3277, allocations: 369.2 kB / 443.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3277, allocations: 35.98 kB / 443.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3278, allocations: 251.7 kB / 443.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3279, allocations: 209.6 kB / 443.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3281, allocations: 90.05 kB / 443.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.3281, allocations: 360.6 kB / 444.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.3285, allocations: 168.2 kB / 444.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.3288, allocations: 217.1 kB / 444.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3295, allocations: 383.8 kB / 444.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3295, allocations: 0.5625 kB / 444.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001231/0.3307, allocations: 0.6601 MB / 445.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3307, allocations: 5.906 kB / 445.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3308, allocations: 0 / 445.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/0.3315, allocations: 260.1 kB / 445.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3318, allocations: 60.95 kB / 445.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/0.3395, allocations: 7.499 MB / 453.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3399, allocations: 17.77 kB / 453.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.34, allocations: 21.25 kB / 453.4 MB, free: 9.871 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.000309/0.3403, allocations: 169 kB / 453.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3404, allocations: 57.59 kB / 453.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.3405, allocations: 69.64 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3405, allocations: 5.469 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.3405, allocations: 2.062 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3405, allocations: 2.953 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.3431, allocations: 1.345 MB / 455 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3431, allocations: 3.938 kB / 455 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.3434, allocations: 56.14 kB / 455.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.3442, allocations: 269.8 kB / 455.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.3442, allocations: 12.67 kB / 455.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007678/0.3519, allocations: 7.515 MB / 462.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3519, allocations: 0.7031 kB / 462.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3538, allocations: 1.017 MB / 463.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.354, allocations: 163.3 kB / 464.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.3541, allocations: 10.69 kB / 464.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.3544, allocations: 18.14 kB / 464.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3545, allocations: 57.03 kB / 464.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3546, allocations: 15.2 kB / 464.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.3549, allocations: 263.8 kB / 464.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3549, allocations: 0 / 464.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.3558, allocations: 178.8 kB / 464.6 MB, free: 1.043 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.002221/0.358, allocations: 1.577 MB / 466.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3598, allocations: 1.01 MB / 467.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3598, allocations: 1.062 kB / 467.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.361, allocations: 0.8318 MB / 468 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.3616, allocations: 85 kB / 468.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.3697, allocations: 5.08 MB / 473.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.3703, allocations: 0.8865 MB / 474.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.3705, allocations: 50.41 kB / 474.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.3707, allocations: 176.3 kB / 474.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3707, allocations: 0 / 474.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07612/0.4468, allocations: 14.01 MB / 488.3 MB, free: 40 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.92, allocations: 3.562 kB / 488.3 MB, free: 40 kB / 382.1 MB " [Timeout remaining time 647] (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: 15.955591480000294]