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.001317/0.001317, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001336/0.001336, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.44/1.44, allocations: 230.4 MB / 254 MB, free: 15.03 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.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 0.00182/0.00182, allocations: 55.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1131, allocations: 53.37 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.2333/0.3464, allocations: 6.308 MB / 432.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.3504, allocations: 2.259 MB / 434.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.3509, allocations: 21 kB / 434.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.3526, allocations: 0.7574 MB / 435.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3539, allocations: 0.6109 MB / 436.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.3549, allocations: 0.5313 MB / 436.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.356, allocations: 1.203 MB / 438.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.357, allocations: 0.6707 MB / 438.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.3576, allocations: 490.1 kB / 439.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.3582, allocations: 0.5456 MB / 439.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.3583, allocations: 111 kB / 439.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3589, allocations: 285.1 kB / 440.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.3591, allocations: 249.1 kB / 440.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.3595, allocations: 0.5466 MB / 440.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3612, allocations: 1.49 MB / 442.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3612, allocations: 5.125 kB / 442.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3612, allocations: 0 / 442.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.3612, allocations: 0 / 442.4 MB, free: 3.68 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002994/0.3642, allocations: 1.471 MB / 443.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3643, allocations: 10.56 kB / 443.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.3645, allocations: 165.4 kB / 444.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.3671, allocations: 390.7 kB / 444.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.3679, allocations: 0.5952 MB / 445 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.368, allocations: 79.94 kB / 445.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3682, allocations: 99.83 kB / 445.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.37, allocations: 1.03 MB / 446.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.37, allocations: 1.734 kB / 446.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.3701, allocations: 42.72 kB / 446.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.3701, allocations: 24.41 kB / 446.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3717, allocations: 0.8601 MB / 447.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.3771, allocations: 3.614 MB / 450.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3798, allocations: 1.822 MB / 452.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009858/0.3808, allocations: 420.7 kB / 453 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.381, allocations: 178.9 kB / 453.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009906/0.3819, allocations: 498.7 kB / 453.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.3819, allocations: 1 kB / 453.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004761/0.3867, allocations: 1.673 MB / 455.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.3868, allocations: 195.7 kB / 455.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.3875, allocations: 481.3 kB / 456 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.3875, allocations: 46.27 kB / 456.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.3879, allocations: 430.1 kB / 456.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3882, allocations: 293.8 kB / 456.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.3885, allocations: 156.7 kB / 456.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3887, allocations: 373.6 kB / 457.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.3894, allocations: 272 kB / 457.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.3902, allocations: 490.7 kB / 458 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.3917, allocations: 0.749 MB / 458.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.3917, allocations: 2.281 kB / 458.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002308/0.394, allocations: 1.029 MB / 459.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.394, allocations: 7.906 kB / 459.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.394, allocations: 5.125 kB / 459.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/0.3949, allocations: 266.2 kB / 460.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.3955, allocations: 144 kB / 460.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/0.4017, allocations: 4.868 MB / 465.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.4024, allocations: 93.94 kB / 465.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.4024, allocations: 39.48 kB / 465.2 MB, free: 4.508 MB / 366.1 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0005015/0.4029, allocations: 251.3 kB / 465.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4031, allocations: 74.52 kB / 465.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.4052, allocations: 0.9562 MB / 466.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.4053, allocations: 7.906 kB / 466.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4053, allocations: 4.781 kB / 466.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.4053, allocations: 5.172 kB / 466.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.4086, allocations: 1.901 MB / 468.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4086, allocations: 4.969 kB / 468.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.409, allocations: 100.5 kB / 468.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/0.4099, allocations: 255.1 kB / 468.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.4099, allocations: 21.89 kB / 468.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/0.4156, allocations: 4.813 MB / 473.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4156, allocations: 1 kB / 473.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.4182, allocations: 1.364 MB / 475 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.4186, allocations: 216 kB / 475.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.4187, allocations: 21.33 kB / 475.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.4191, allocations: 42.06 kB / 475.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.4193, allocations: 76.53 kB / 475.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.4194, allocations: 28.23 kB / 475.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.4198, allocations: 326.8 kB / 475.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4198, allocations: 0 / 475.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001192/0.421, allocations: 313.1 kB / 476 MB, free: 12.66 MB / 382.1 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.003145/0.4241, allocations: 1.969 MB / 477.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.4263, allocations: 1.046 MB / 479 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.4264, allocations: 4 kB / 479 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.4276, allocations: 0.713 MB / 479.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.4283, allocations: 125 kB / 479.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.439, allocations: 6.523 MB / 486.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.4398, allocations: 0.9943 MB / 487.3 MB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.4401, allocations: 83.12 kB / 487.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.4405, allocations: 335.3 kB / 487.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4405, allocations: 4 kB / 487.7 MB, free: 1.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.4964, allocations: 19.7 MB / 0.4956 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.24, allocations: 18.38 kB / 0.4956 GB, free: 13.9 MB / 414.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 18.230197375058196]