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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009779/0.000978, allocations: 96.92 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 202.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002396, allocations: 8 kB / 307.8 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09168, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004568/0.09627, allocations: 4.184 MB / 363.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.09868, allocations: 1.281 MB / 364.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.09917, allocations: 23.94 kB / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.09955, allocations: 135.1 kB / 364.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.1005, allocations: 326.3 kB / 365.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.101, allocations: 191.8 kB / 365.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.1028, allocations: 1.825 MB / 367.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.104, allocations: 0.944 MB / 368.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.1047, allocations: 0.5094 MB / 368.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1059, allocations: 0.7234 MB / 369.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.1061, allocations: 72 kB / 369.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1064, allocations: 83.94 kB / 369.6 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.1067, allocations: 346.7 kB / 369.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.1074, allocations: 0.6894 MB / 370.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1703/0.2777, allocations: 2.101 MB / 372.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2777, allocations: 1.312 kB / 372.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2777, allocations: 0 / 372.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.737e-05/0.2778, allocations: 0.5625 kB / 372.7 MB, free: 11.83 MB / 302.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.003716/0.2815, allocations: 1.558 MB / 374.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2816, allocations: 10.88 kB / 374.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2828, allocations: 227.3 kB / 374.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.2845, allocations: 1.002 MB / 375.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.2846, allocations: 80.3 kB / 375.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.2848, allocations: 103 kB / 375.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.288, allocations: 1.572 MB / 377.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.288, allocations: 5.828 kB / 377.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.2881, allocations: 43.89 kB / 377.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.2882, allocations: 44.27 kB / 377.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.2906, allocations: 1.457 MB / 378.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007365/0.298, allocations: 4.994 MB / 383.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2997, allocations: 1.478 MB / 385.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.301, allocations: 0.7364 MB / 386 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.301, allocations: 11.89 kB / 386 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009716/0.302, allocations: 0.6207 MB / 386.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.302, allocations: 0 / 386.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005868/0.3079, allocations: 2.492 MB / 389.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.308, allocations: 85.92 kB / 389.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3093, allocations: 0.9677 MB / 390.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.3093, allocations: 41.83 kB / 390.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.3097, allocations: 0.5372 MB / 390.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.3099, allocations: 231 kB / 391 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.31, allocations: 65.31 kB / 391 MB, free: 4.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.3101, allocations: 337.4 kB / 391.4 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.3107, allocations: 426.1 kB / 391.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.3115, allocations: 0.5671 MB / 392.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3129, allocations: 0.9777 MB / 393.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3129, allocations: 1.375 kB / 393.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00223/0.3152, allocations: 1.322 MB / 394.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3152, allocations: 6.281 kB / 394.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3152, allocations: 7.062 kB / 394.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.3161, allocations: 398.2 kB / 395.1 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.3166, allocations: 114.5 kB / 395.2 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.3212, allocations: 4.143 MB / 399.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.3221, allocations: 92.42 kB / 399.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.3221, allocations: 27.28 kB / 399.4 MB, free: 15.25 MB / 318.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.0009192/0.3231, allocations: 0.4974 MB / 399.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3232, allocations: 94.77 kB / 400 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3235, allocations: 117.7 kB / 400.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3235, allocations: 7.094 kB / 400.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3235, allocations: 3.984 kB / 400.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3236, allocations: 8.062 kB / 400.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.3276, allocations: 2.635 MB / 402.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3276, allocations: 0 / 402.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.3281, allocations: 90.97 kB / 402.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008297/0.3289, allocations: 397 kB / 403.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.329, allocations: 19.98 kB / 403.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.3339, allocations: 4.094 MB / 407.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3339, allocations: 0 / 407.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.3369, allocations: 1.994 MB / 409.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.3374, allocations: 291.9 kB / 409.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.3376, allocations: 11.98 kB / 409.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.338, allocations: 59.95 kB / 409.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3382, allocations: 75.91 kB / 409.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.3383, allocations: 27.94 kB / 409.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008827/0.3392, allocations: 0.6903 MB / 410.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3392, allocations: 0 / 410.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3402, allocations: 339 kB / 410.9 MB, free: 4.527 MB / 318.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.0001807/0.3404, allocations: 135.1 kB / 411 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.3426, allocations: 1.303 MB / 412.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3426, allocations: 0 / 412.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3439, allocations: 0.8232 MB / 413.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.345, allocations: 236.9 kB / 413.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.35, allocations: 3.185 MB / 416.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.3511, allocations: 1.392 MB / 417.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.3516, allocations: 174.8 kB / 418.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.3518, allocations: 59.42 kB / 418.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3518, allocations: 4 kB / 418.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Templates: time 0.02684/0.3786, allocations: 17 MB / 435.2 MB, free: 12.41 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (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 & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches