Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001374/0.001374, allocations: 116.7 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.001703/0.001703, allocations: 214.3 kB / 23.75 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.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006403/0.3155, allocations: 3.751 MB / 435 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.318, allocations: 1.095 MB / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.3184, allocations: 19.88 kB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.3188, allocations: 119.1 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.3199, allocations: 234.6 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.3203, allocations: 167.6 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.3218, allocations: 0.9768 MB / 437.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.3224, allocations: 351.5 kB / 437.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.3232, allocations: 434.5 kB / 438.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3243, allocations: 0.4981 MB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.3245, allocations: 104 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.3249, allocations: 100 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.3254, allocations: 291.1 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008475/0.3262, allocations: 477.8 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.3279, allocations: 1.304 MB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3279, allocations: 7.938 kB / 441.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3279, allocations: 4 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.328, allocations: 0 / 441.1 MB, free: 12.75 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003545/0.3315, allocations: 1.326 MB / 442.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3316, allocations: 8.031 kB / 442.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.3318, allocations: 110.7 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.3323, allocations: 128.3 kB / 442.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3336, allocations: 0.6045 MB / 443.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.3336, allocations: 49.3 kB / 443.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3337, allocations: 68 kB / 443.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3355, allocations: 0.9228 MB / 444.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.3355, allocations: 3.953 kB / 444.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.3356, allocations: 28 kB / 444.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.3356, allocations: 29.31 kB / 444.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.3371, allocations: 0.7936 MB / 445.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/0.3419, allocations: 2.733 MB / 447.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.3428, allocations: 495.9 kB / 448.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.3434, allocations: 320.4 kB / 448.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.3435, allocations: 4.328 kB / 448.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/0.3442, allocations: 388.9 kB / 449.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.3442, allocations: 0 / 449.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002812/0.347, allocations: 1.115 MB / 450.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3471, allocations: 114.6 kB / 450.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.348, allocations: 0.584 MB / 450.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.348, allocations: 41.69 kB / 450.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.3484, allocations: 368.6 kB / 451.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.3486, allocations: 146.8 kB / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3488, allocations: 98.08 kB / 451.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.349, allocations: 374.7 kB / 451.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.3495, allocations: 216.8 kB / 452.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006359/0.3501, allocations: 359.8 kB / 452.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.351, allocations: 0.5621 MB / 453 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.351, allocations: 4 kB / 453 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001445/0.3525, allocations: 0.7517 MB / 453.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3525, allocations: 8 kB / 453.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3525, allocations: 4 kB / 453.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.353, allocations: 208.3 kB / 454 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3534, allocations: 75.83 kB / 454.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.3572, allocations: 2.828 MB / 456.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3575, allocations: 59.69 kB / 456.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.3576, allocations: 20 kB / 457 MB, free: 12.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005324/0.3581, allocations: 329.7 kB / 457.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3583, allocations: 63.66 kB / 457.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.3584, allocations: 69.42 kB / 457.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3584, allocations: 7.938 kB / 457.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3584, allocations: 0 / 457.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3584, allocations: 7.984 kB / 457.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3614, allocations: 1.607 MB / 459 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3614, allocations: 4 kB / 459 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3617, allocations: 43.91 kB / 459.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.3621, allocations: 192.7 kB / 459.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.3622, allocations: 12 kB / 459.3 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.3658, allocations: 2.818 MB / 462.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3658, allocations: 0 / 462.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3676, allocations: 1.1 MB / 463.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.3679, allocations: 123.5 kB / 463.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.368, allocations: 12 kB / 463.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.3684, allocations: 23.97 kB / 463.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3685, allocations: 55.64 kB / 463.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3685, allocations: 11.98 kB / 463.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006145/0.3691, allocations: 430.8 kB / 463.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 463.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.3699, allocations: 207.5 kB / 464 MB, free: 5.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.3722, allocations: 1.656 MB / 465.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3736, allocations: 0.7061 MB / 466.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3736, allocations: 0 / 466.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.3744, allocations: 467.1 kB / 466.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.3752, allocations: 146.1 kB / 467 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.3861, allocations: 6.539 MB / 473.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/0.3871, allocations: 1.078 MB / 474.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.3874, allocations: 100.8 kB / 474.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.3877, allocations: 247.4 kB / 475 MB, free: 9.852 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3877, allocations: 0 / 475 MB, free: 9.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.4493, allocations: 17.07 MB / 492 MB, free: 9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.68, allocations: 12 kB / 492 MB, free: 8.988 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 16.175178673816845]