Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.0008576/0.0008576, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009091/0.0009091, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9201/0.9201, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.659e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004736/0.004753, allocations: 5.605 MB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.007236, allocations: 2.129 MB / 332.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.007502, allocations: 27.81 kB / 332.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.008571, allocations: 0.738 MB / 333 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008162/0.009387, allocations: 0.6091 MB / 333.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.01003, allocations: 0.5258 MB / 334.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.0111, allocations: 1.23 MB / 335.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.0121, allocations: 0.7455 MB / 336.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01312, allocations: 0.7054 MB / 336.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.01367, allocations: 418.7 kB / 337.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.01383, allocations: 108 kB / 337.3 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.01429, allocations: 275.7 kB / 337.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.01448, allocations: 255 kB / 337.9 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.01486, allocations: 383 kB / 338.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.01639, allocations: 1.523 MB / 339.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01639, allocations: 0 / 339.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01639, allocations: 0 / 339.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.01641, allocations: 0 / 339.8 MB, free: 0.5469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003014/0.01943, allocations: 1.663 MB / 341.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.01947, allocations: 15.98 kB / 341.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.01973, allocations: 166.4 kB / 341.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.02176, allocations: 387.9 kB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.02237, allocations: 0.5281 MB / 342.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.02241, allocations: 78.38 kB / 342.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.02251, allocations: 100.4 kB / 342.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.02401, allocations: 1.132 MB / 343.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.02404, allocations: 6.984 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/0.02412, allocations: 44 kB / 343.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.02414, allocations: 24 kB / 343.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.02525, allocations: 0.8511 MB / 344.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.02859, allocations: 3.098 MB / 347.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.02973, allocations: 0.8512 MB / 348.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.03025, allocations: 403.4 kB / 349.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-05/0.03032, allocations: 24.62 kB / 349.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.03089, allocations: 0.5817 MB / 349.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.365e-06/0.0309, allocations: 4 kB / 349.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.002549/0.03345, allocations: 1.485 MB / 351.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.03353, allocations: 200.8 kB / 351.4 MB, free: 4.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.03391, allocations: 486 kB / 351.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.03395, allocations: 49.62 kB / 351.9 MB, free: 4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.03415, allocations: 428.7 kB / 352.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.03429, allocations: 289.5 kB / 352.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.03444, allocations: 158.6 kB / 352.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.03456, allocations: 374.8 kB / 353.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.03492, allocations: 273.9 kB / 353.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.03539, allocations: 0.5762 MB / 354 MB, free: 1.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.03618, allocations: 0.7318 MB / 354.7 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.03618, allocations: 4 kB / 354.7 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001245/0.03743, allocations: 1.018 MB / 355.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.03745, allocations: 8 kB / 355.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.03745, allocations: 8.062 kB / 355.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.03797, allocations: 265.4 kB / 356 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.03827, allocations: 147.8 kB / 356.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.04176, allocations: 4.597 MB / 360.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.04206, allocations: 95.5 kB / 360.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.0421, allocations: 35.98 kB / 360.9 MB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.04235, allocations: 255.1 kB / 361.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.04242, allocations: 71.53 kB / 361.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.04366, allocations: 0.9593 MB / 362.1 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.04367, allocations: 8 kB / 362.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.04367, allocations: 0 / 362.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.04368, allocations: 7.922 kB / 362.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.04572, allocations: 1.764 MB / 363.9 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.04572, allocations: 0 / 363.9 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.04595, allocations: 99.81 kB / 364 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.04641, allocations: 265.5 kB / 364.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.04645, allocations: 19.98 kB / 364.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.04983, allocations: 4.556 MB / 368.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.04983, allocations: 0 / 368.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.05156, allocations: 1.362 MB / 370.2 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.05175, allocations: 139.3 kB / 370.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.05181, allocations: 19.98 kB / 370.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.05202, allocations: 47.97 kB / 370.4 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.05217, allocations: 76.98 kB / 370.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.0522, allocations: 20 kB / 370.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.05246, allocations: 334.8 kB / 370.8 MB, free: 280 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05246, allocations: 0 / 370.8 MB, free: 280 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007286/0.05319, allocations: 311.4 kB / 371.1 MB, free: 15.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/0.05518, allocations: 1.968 MB / 373.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.05656, allocations: 1.053 MB / 374.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.05656, allocations: 4 kB / 374.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.05729, allocations: 0.7094 MB / 374.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.05773, allocations: 126.2 kB / 375 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.0649, allocations: 6.501 MB / 381.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.06521, allocations: 412.5 kB / 381.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.06544, allocations: 85.47 kB / 382 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.06572, allocations: 332.4 kB / 382.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.06572, allocations: 0 / 382.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.1018, allocations: 20.28 MB / 402.6 MB, free: 372 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.507, allocations: 3.266 kB / 402.6 MB, free: 372 kB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable voltageQS.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable voltageQS.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iAC.mean1.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iAC.mean1.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iAC.mean2.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iAC.mean2.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iDC2.mean.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iDC2.mean.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.490571359172463]