Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001663/0.001663, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002012/0.002012, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006335/0.119, allocations: 4.614 MB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2409/0.36, allocations: 1.311 MB / 432.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.3604, allocations: 24.97 kB / 432.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.3608, allocations: 170.7 kB / 432.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000941/0.3617, allocations: 368.3 kB / 433.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.3621, allocations: 217.3 kB / 433.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.3635, allocations: 1.64 MB / 435 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009904/0.3645, allocations: 0.7952 MB / 435.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008083/0.3653, allocations: 0.7023 MB / 436.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.3664, allocations: 0.8709 MB / 437.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.3667, allocations: 176.5 kB / 437.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.367, allocations: 178.1 kB / 437.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.3674, allocations: 492.9 kB / 438.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.3682, allocations: 0.7974 MB / 439 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.3708, allocations: 2.279 MB / 441.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3708, allocations: 0.6562 kB / 441.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3708, allocations: 0 / 441.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.3708, allocations: 0 / 441.3 MB, free: 4.867 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003451/0.3743, allocations: 1.833 MB / 443.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3743, allocations: 11.86 kB / 443.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.3745, allocations: 170.8 kB / 443.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.3753, allocations: 213.9 kB / 443.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.377, allocations: 1.035 MB / 444.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.377, allocations: 76.31 kB / 444.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.3772, allocations: 112.4 kB / 444.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.3798, allocations: 1.55 MB / 446.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.3798, allocations: 5.609 kB / 446.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3799, allocations: 48.88 kB / 446.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.38, allocations: 45.33 kB / 446.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.3825, allocations: 1.431 MB / 447.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007349/0.3899, allocations: 4.906 MB / 452.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3916, allocations: 1.385 MB / 454.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3928, allocations: 0.689 MB / 454.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.3929, allocations: 8.281 kB / 454.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.3939, allocations: 0.6099 MB / 455.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.3939, allocations: 0 / 455.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006026/0.4, allocations: 2.432 MB / 457.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.4001, allocations: 90.52 kB / 457.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.4014, allocations: 0.96 MB / 458.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.4015, allocations: 41.2 kB / 458.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005461/0.4021, allocations: 0.545 MB / 459.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.4023, allocations: 244.5 kB / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4025, allocations: 130.7 kB / 459.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4027, allocations: 333.9 kB / 460.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007419/0.4034, allocations: 418 kB / 460.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.4043, allocations: 0.5509 MB / 461.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.4059, allocations: 0.9545 MB / 462.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4059, allocations: 11.16 kB / 462.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002265/0.4082, allocations: 1.285 MB / 463.4 MB, free: 8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4082, allocations: 6.562 kB / 463.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4082, allocations: 3.5 kB / 463.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009508/0.4092, allocations: 401.9 kB / 463.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4097, allocations: 114.4 kB / 463.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.4154, allocations: 4.503 MB / 468.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.4161, allocations: 79.27 kB / 468.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.4162, allocations: 34.75 kB / 468.5 MB, free: 4.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008547/0.4171, allocations: 494.6 kB / 469 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.4172, allocations: 103.8 kB / 469.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4174, allocations: 123.7 kB / 469.2 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.4174, allocations: 8.922 kB / 469.2 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4175, allocations: 0 / 469.2 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4175, allocations: 6.953 kB / 469.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.4222, allocations: 2.587 MB / 471.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4222, allocations: 7.938 kB / 471.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.4226, allocations: 75.89 kB / 471.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008594/0.4235, allocations: 386.1 kB / 472.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.4235, allocations: 27.92 kB / 472.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/0.4294, allocations: 4.48 MB / 476.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4294, allocations: 0 / 476.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.4327, allocations: 1.95 MB / 478.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.4334, allocations: 292.3 kB / 479 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.4336, allocations: 19.94 kB / 479 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.4341, allocations: 43.95 kB / 479.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.4343, allocations: 72.55 kB / 479.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.4343, allocations: 23.98 kB / 479.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.4355, allocations: 0.698 MB / 479.9 MB, free: 10 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4355, allocations: 0 / 479.9 MB, free: 10 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001231/0.4367, allocations: 347.2 kB / 480.2 MB, free: 9.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003574/0.4403, allocations: 2.524 MB / 482.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.4427, allocations: 1.248 MB / 484 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4427, allocations: 0 / 484 MB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4441, allocations: 0.7847 MB / 484.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.4454, allocations: 259.5 kB / 485 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.465, allocations: 10.87 MB / 495.9 MB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.4665, allocations: 1.396 MB / 497.3 MB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.4671, allocations: 172.7 kB / 497.5 MB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/0.4677, allocations: 423.3 kB / 497.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4677, allocations: 0 / 497.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/0.5459, allocations: 29.11 MB / 0.5146 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.21, allocations: 4.062 kB / 0.5146 GB, free: 10.9 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.030521917622536]