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.001875/0.001875, allocations: 114 kB / 20.43 MB, free: 1.457 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.002386/0.002386, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.002128/0.002128, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2863, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007608/0.2939, allocations: 4.649 MB / 435.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2968, allocations: 1.32 MB / 437.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/0.2972, allocations: 39.75 kB / 437.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.2977, allocations: 174.6 kB / 437.4 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.2987, allocations: 366 kB / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.2992, allocations: 227.6 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.3011, allocations: 1.638 MB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.302, allocations: 0.5834 MB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009568/0.303, allocations: 0.7164 MB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.3042, allocations: 0.8718 MB / 441.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.3045, allocations: 176 kB / 441.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.3048, allocations: 188 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.3053, allocations: 486.6 kB / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000902/0.3062, allocations: 0.7971 MB / 443.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.3086, allocations: 2.286 MB / 445.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3086, allocations: 0 / 445.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3086, allocations: 0 / 445.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.3086, allocations: 0 / 445.7 MB, free: 8.09 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.003838/0.3125, allocations: 2.063 MB / 447.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3125, allocations: 16.02 kB / 447.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.3127, allocations: 160.8 kB / 447.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007343/0.3135, allocations: 219.8 kB / 448.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.3153, allocations: 0.9749 MB / 449.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.3153, allocations: 78.44 kB / 449.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.3155, allocations: 107.9 kB / 449.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.3182, allocations: 1.549 MB / 450.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.3182, allocations: 3.938 kB / 450.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.3183, allocations: 51.98 kB / 450.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.3184, allocations: 46.03 kB / 450.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.321, allocations: 1.429 MB / 452.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007735/0.3287, allocations: 4.83 MB / 457.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.3302, allocations: 0.9382 MB / 458.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3314, allocations: 0.6806 MB / 458.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.3315, allocations: 8.656 kB / 458.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.3326, allocations: 0.6124 MB / 459.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.3326, allocations: 0 / 459.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006164/0.3387, allocations: 2.36 MB / 461.8 MB, free: 7.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.3388, allocations: 89.75 kB / 461.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.3403, allocations: 0.962 MB / 462.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.3404, allocations: 45.64 kB / 462.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/0.341, allocations: 0.5436 MB / 463.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.3413, allocations: 242 kB / 463.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3416, allocations: 138.6 kB / 463.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3417, allocations: 334 kB / 464.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.3425, allocations: 413.7 kB / 464.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.3433, allocations: 0.5525 MB / 465.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.3449, allocations: 0.956 MB / 466.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.3449, allocations: 4 kB / 466.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002364/0.3472, allocations: 1.287 MB / 467.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3472, allocations: 4 kB / 467.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3473, allocations: 4 kB / 467.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/0.3482, allocations: 403.2 kB / 467.7 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.3487, allocations: 115.8 kB / 467.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005895/0.3546, allocations: 4.402 MB / 472.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.3552, allocations: 79.64 kB / 472.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.3553, allocations: 31.98 kB / 472.4 MB, free: 12.75 MB / 382.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_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) * 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.0008495/0.3561, allocations: 0.4952 MB / 472.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.3563, allocations: 95.39 kB / 473 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.3565, allocations: 128.9 kB / 473.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3565, allocations: 4 kB / 473.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3566, allocations: 4 kB / 473.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3566, allocations: 7.984 kB / 473.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.3608, allocations: 2.551 MB / 475.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3608, allocations: 0 / 475.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.3612, allocations: 83.88 kB / 475.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/0.3621, allocations: 400.4 kB / 476.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.3622, allocations: 15.94 kB / 476.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.368, allocations: 4.37 MB / 480.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.368, allocations: 4 kB / 480.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.3711, allocations: 1.944 MB / 482.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.3718, allocations: 235.1 kB / 482.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.372, allocations: 8 kB / 482.7 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.3725, allocations: 44.08 kB / 482.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.3727, allocations: 80.5 kB / 482.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.3727, allocations: 31.92 kB / 482.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.3739, allocations: 0.6864 MB / 483.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3739, allocations: 0 / 483.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001121/0.375, allocations: 351.2 kB / 483.9 MB, free: 1.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.003658/0.3787, allocations: 2.515 MB / 486.4 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.3812, allocations: 1.249 MB / 487.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/0.3812, allocations: 4.859 kB / 487.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.3826, allocations: 0.7794 MB / 488.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3839, allocations: 251.8 kB / 488.7 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.4034, allocations: 10.91 MB / 499.6 MB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.4048, allocations: 1.392 MB / 0.4892 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005196/0.4054, allocations: 175.4 kB / 0.4894 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/0.406, allocations: 423.3 kB / 0.4898 GB, free: 15.04 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.406, allocations: 0 / 0.4898 GB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/0.4845, allocations: 29.66 MB / 0.5188 GB, free: 1.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.58, allocations: 0 / 0.5188 GB, free: 1.645 MB / 430.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.34291085205041]