Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.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.00133/0.00133, allocations: 131.4 kB / 17.79 MB, free: 5.242 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.001519/0.001519, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.503/1.503, allocations: 230.4 MB / 254 MB, free: 15.04 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 59.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1189, allocations: 53.38 MB / 426.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2434/0.3624, allocations: 6.296 MB / 432.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.3657, allocations: 1.702 MB / 434.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005972/0.3663, allocations: 54.94 kB / 434.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.3669, allocations: 313.7 kB / 434.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3681, allocations: 438.5 kB / 435.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.3688, allocations: 352.2 kB / 435.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.3712, allocations: 2.16 MB / 437.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.3735, allocations: 1.791 MB / 439.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3754, allocations: 1.066 MB / 440.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.3775, allocations: 1.238 MB / 441.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.378, allocations: 295.5 kB / 442 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.3789, allocations: 430.9 kB / 442.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007121/0.3796, allocations: 0.7079 MB / 443.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.3811, allocations: 1.243 MB / 444.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3861, allocations: 3.64 MB / 448 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3861, allocations: 1.5 kB / 448 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3861, allocations: 0 / 448 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.3862, allocations: 0 / 448 MB, free: 1.648 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.006115/0.3923, allocations: 2.547 MB / 450.6 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3924, allocations: 9.5 kB / 450.6 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004636/0.3928, allocations: 300.4 kB / 450.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.3937, allocations: 272.4 kB / 451.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.3961, allocations: 1.314 MB / 452.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.3962, allocations: 156.6 kB / 452.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.3966, allocations: 207.6 kB / 452.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/0.4017, allocations: 2.632 MB / 455.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.4018, allocations: 0 / 455.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.402, allocations: 89.47 kB / 455.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.4021, allocations: 76.44 kB / 455.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.4059, allocations: 2.1 MB / 457.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.42, allocations: 7.479 MB / 465.2 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.4228, allocations: 2.279 MB / 467.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.4245, allocations: 0.8866 MB / 468.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.4245, allocations: 11.19 kB / 468.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4246, allocations: 46 kB / 468.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.989e-06/0.4246, allocations: 1.453 kB / 468.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.009289/0.4339, allocations: 4.202 MB / 472.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4339, allocations: 64.41 kB / 472.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4355, allocations: 0.872 MB / 473.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4356, allocations: 41.7 kB / 473.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.4363, allocations: 0.8592 MB / 474.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4367, allocations: 337.1 kB / 474.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.437, allocations: 178.6 kB / 475 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4372, allocations: 347.1 kB / 475.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/0.438, allocations: 497.7 kB / 475.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.439, allocations: 0.6694 MB / 476.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.4411, allocations: 1.201 MB / 477.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.4411, allocations: 0 / 477.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003121/0.4442, allocations: 1.621 MB / 479.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4443, allocations: 11.94 kB / 479.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4443, allocations: 4 kB / 479.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.4455, allocations: 472.6 kB / 479.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.4462, allocations: 175.8 kB / 479.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4567, allocations: 9.296 MB / 489.2 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/0.4577, allocations: 52.02 kB / 489.3 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.4578, allocations: 34.53 kB / 489.3 MB, free: 168 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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.001626/0.4594, allocations: 0.6446 MB / 490 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.4599, allocations: 107.3 kB / 490.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.4604, allocations: 134.1 kB / 490.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.4604, allocations: 12 kB / 490.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.4604, allocations: 11.94 kB / 490.2 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4604, allocations: 3.984 kB / 490.2 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.4679, allocations: 3.467 MB / 493.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.4679, allocations: 4.188 kB / 493.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.4686, allocations: 127.8 kB / 493.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.4696, allocations: 465 kB / 494.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.4697, allocations: 20 kB / 494.3 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009832/0.4796, allocations: 9.202 MB / 0.4917 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4796, allocations: 4.031 kB / 0.4917 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.4835, allocations: 2.297 MB / 0.4939 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.4842, allocations: 280.4 kB / 0.4942 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.4845, allocations: 23.92 kB / 0.4942 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.4851, allocations: 43.95 kB / 0.4943 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.4853, allocations: 88.81 kB / 0.4944 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.4854, allocations: 28.47 kB / 0.4944 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.4865, allocations: 0.6122 MB / 0.495 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4865, allocations: 0 / 0.495 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001963/0.4885, allocations: 383.9 kB / 0.4953 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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.004315/0.4928, allocations: 2.893 MB / 0.4982 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.4958, allocations: 1.777 MB / 0.4999 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4958, allocations: 4.188 kB / 0.4999 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4978, allocations: 1.195 MB / 0.5011 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.4995, allocations: 305.7 kB / 0.5014 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/0.5228, allocations: 12.19 MB / 0.5133 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.5249, allocations: 1.718 MB / 0.5149 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006347/0.5256, allocations: 192.9 kB / 0.5151 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008831/0.5264, allocations: 0.6243 MB / 0.5157 GB, free: 8.176 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5264, allocations: 0 / 0.5157 GB, free: 8.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.6452, allocations: 33.88 MB / 0.5488 GB, free: 6.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.57, allocations: 4 kB / 0.5488 GB, free: 6.574 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.61747740395367]