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.001618/0.001618, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001991/0.001991, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.445/1.445, 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.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.0018/0.0018, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1186, allocations: 53.31 MB / 426.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006076/0.1247, allocations: 3.723 MB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1271, allocations: 1.095 MB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1273, allocations: 11.94 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.1276, allocations: 115.1 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2276/0.3552, allocations: 228.4 kB / 431.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.3557, allocations: 157.9 kB / 432 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.3568, allocations: 0.9709 MB / 433 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.3573, allocations: 452.3 kB / 433.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.3578, allocations: 429.4 kB / 433.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.3583, allocations: 0.4995 MB / 434.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.3585, allocations: 102.4 kB / 434.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3587, allocations: 105.7 kB / 434.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3589, allocations: 283.1 kB / 434.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.3593, allocations: 491.9 kB / 435.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.3608, allocations: 1.302 MB / 436.6 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3608, allocations: 2.109 kB / 436.6 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3608, allocations: 0 / 436.6 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.3608, allocations: 0 / 436.6 MB, free: 7 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.00221/0.363, allocations: 1.208 MB / 437.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3631, allocations: 9.5 kB / 437.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.3632, allocations: 113.3 kB / 437.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/0.3636, allocations: 129.7 kB / 438 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3647, allocations: 0.6578 MB / 438.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.3647, allocations: 52.56 kB / 438.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3648, allocations: 68.48 kB / 438.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3665, allocations: 0.9191 MB / 439.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.3665, allocations: 0 / 439.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3666, allocations: 28.22 kB / 439.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.983e-05/0.3666, allocations: 29 kB / 439.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.3681, allocations: 0.7986 MB / 440.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004632/0.3727, allocations: 2.803 MB / 443.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.3735, allocations: 0.7086 MB / 444.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.3741, allocations: 314.1 kB / 444.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.3741, allocations: 5.797 kB / 444.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/0.3748, allocations: 384.9 kB / 444.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.594e-06/0.3748, allocations: 0 / 444.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00281/0.3776, allocations: 1.221 MB / 446 MB, free: 2.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3777, allocations: 118 kB / 446.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.3785, allocations: 0.5905 MB / 446.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.3785, allocations: 41.16 kB / 446.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.3788, allocations: 370.9 kB / 447.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.856e-05/0.3789, allocations: 143.2 kB / 447.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.379, allocations: 87.77 kB / 447.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3791, allocations: 367.1 kB / 447.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3795, allocations: 218 kB / 447.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.3799, allocations: 359.5 kB / 448.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.3807, allocations: 0.5727 MB / 448.8 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3807, allocations: 1.094 kB / 448.8 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001237/0.3819, allocations: 0.7525 MB / 449.6 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3819, allocations: 10.44 kB / 449.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.382, allocations: 4.719 kB / 449.6 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.3825, allocations: 207.2 kB / 449.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3829, allocations: 79.02 kB / 449.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.3868, allocations: 3.037 MB / 452.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.3872, allocations: 52.92 kB / 453 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3872, allocations: 21.84 kB / 453 MB, free: 13.75 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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005751/0.3878, allocations: 332.5 kB / 453.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3879, allocations: 60.5 kB / 453.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3881, allocations: 71.42 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3881, allocations: 4.125 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3881, allocations: 5.312 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3881, allocations: 3.281 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3911, allocations: 1.731 MB / 455.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3911, allocations: 1.125 kB / 455.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.3913, allocations: 54.06 kB / 455.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.3918, allocations: 192.2 kB / 455.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.3918, allocations: 12.75 kB / 455.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.3953, allocations: 2.925 MB / 458.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3953, allocations: 1.406 kB / 458.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3972, allocations: 1.138 MB / 459.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.3976, allocations: 197.5 kB / 459.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.3977, allocations: 11.62 kB / 459.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.398, allocations: 28.47 kB / 459.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3981, allocations: 41.62 kB / 459.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3982, allocations: 14.19 kB / 459.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.3988, allocations: 431.3 kB / 460.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3988, allocations: 4 kB / 460.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008572/0.3997, allocations: 206.5 kB / 460.4 MB, free: 8.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (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.002403/0.4021, allocations: 1.708 MB / 462.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.4035, allocations: 0.716 MB / 462.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4035, allocations: 1.062 kB / 462.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.4043, allocations: 468.1 kB / 463.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.405, allocations: 155.6 kB / 463.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4169, allocations: 6.629 MB / 470.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.4181, allocations: 1.078 MB / 471.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.4185, allocations: 96.91 kB / 471.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.419, allocations: 253.6 kB / 471.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.419, allocations: 0 / 471.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.4757, allocations: 16.77 MB / 488.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.11, allocations: 12.17 kB / 488.3 MB, free: 1.781 MB / 382.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.560876618139446]