Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 92.84 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 185.2 kB / 17.57 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 7.938 kB / 301.4 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08847, allocations: 50.41 MB / 351.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004811/0.09332, allocations: 4.151 MB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.09572, allocations: 1.192 MB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.09621, allocations: 23.88 kB / 357.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.09657, allocations: 135.1 kB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009567/0.09754, allocations: 322.4 kB / 357.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.09795, allocations: 159.9 kB / 357.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.09985, allocations: 1.814 MB / 359.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.1011, allocations: 0.9322 MB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.1019, allocations: 0.4977 MB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.1032, allocations: 0.7196 MB / 361.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.1035, allocations: 75.94 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1039, allocations: 76 kB / 361.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.1043, allocations: 346.7 kB / 362.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009015/0.1052, allocations: 0.6817 MB / 363 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.107, allocations: 2.079 MB / 365 MB, free: 6.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.107, allocations: 3.938 kB / 365 MB, free: 6.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.107, allocations: 0 / 365 MB, free: 6.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.582e-05/0.1071, allocations: 3.938 kB / 365 MB, free: 6.387 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.003397/0.1105, allocations: 1.542 MB / 366.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1106, allocations: 8.031 kB / 366.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.111, allocations: 151.2 kB / 366.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.1126, allocations: 0.9578 MB / 367.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.1126, allocations: 86.42 kB / 367.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.1129, allocations: 104.1 kB / 367.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.1157, allocations: 1.569 MB / 369.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.1157, allocations: 3.906 kB / 369.5 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1158, allocations: 40 kB / 369.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.1159, allocations: 46.03 kB / 369.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.1185, allocations: 1.46 MB / 371 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/0.3039, allocations: 4.986 MB / 376 MB, free: 22.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3055, allocations: 1.465 MB / 377.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.3067, allocations: 0.7421 MB / 378.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.3067, allocations: 9.156 kB / 378.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009705/0.3077, allocations: 0.6272 MB / 378.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/0.3077, allocations: 0 / 378.8 MB, free: 20.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005862/0.3136, allocations: 2.485 MB / 381.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3136, allocations: 87.12 kB / 381.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3149, allocations: 0.9376 MB / 382.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.315, allocations: 46.28 kB / 382.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.3153, allocations: 0.5233 MB / 382.9 MB, free: 18.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3155, allocations: 230.7 kB / 383.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.3156, allocations: 67.7 kB / 383.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.3157, allocations: 333.2 kB / 383.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.3163, allocations: 427.7 kB / 383.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/0.317, allocations: 0.5676 MB / 384.5 MB, free: 17.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.3184, allocations: 0.9707 MB / 385.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3184, allocations: 1.156 kB / 385.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001963/0.3203, allocations: 1.312 MB / 386.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3204, allocations: 6.219 kB / 386.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3204, allocations: 4.594 kB / 386.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/0.3212, allocations: 399.7 kB / 387.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.3217, allocations: 119.4 kB / 387.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.326, allocations: 4.157 MB / 391.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.3265, allocations: 83.77 kB / 391.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.3266, allocations: 27.61 kB / 391.6 MB, free: 13.26 MB / 302.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.0005894/0.3272, allocations: 0.4937 MB / 392.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3273, allocations: 90.44 kB / 392.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.3275, allocations: 116.1 kB / 392.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3275, allocations: 6.875 kB / 392.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3275, allocations: 1.219 kB / 392.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3275, allocations: 3.984 kB / 392.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.3309, allocations: 2.633 MB / 394.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.331, allocations: 2.375 kB / 394.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3314, allocations: 94.88 kB / 395 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006524/0.332, allocations: 394.4 kB / 395.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.3321, allocations: 11.75 kB / 395.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/0.3358, allocations: 4.098 MB / 399.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3358, allocations: 4 kB / 399.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.3381, allocations: 1.993 MB / 401.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.3384, allocations: 291.7 kB / 401.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3386, allocations: 12 kB / 401.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.339, allocations: 53.34 kB / 401.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3392, allocations: 76.55 kB / 401.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.3392, allocations: 19.98 kB / 401.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.3398, allocations: 0.6747 MB / 402.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3398, allocations: 0 / 402.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007734/0.3406, allocations: 343 kB / 402.9 MB, free: 3.852 MB / 302.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.0001409/0.3408, allocations: 135.1 kB / 403.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.3425, allocations: 1.303 MB / 404.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3425, allocations: 4 kB / 404.4 MB, free: 2.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009626/0.3435, allocations: 0.8241 MB / 405.2 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.3444, allocations: 242.1 kB / 405.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/0.3485, allocations: 3.158 MB / 408.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/0.3495, allocations: 1.38 MB / 410 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.3499, allocations: 175.2 kB / 410.2 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3501, allocations: 51.44 kB / 410.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3501, allocations: 0 / 410.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of Templates: time 0.02549/0.3755, allocations: 16.89 MB / 427.1 MB, free: 11.86 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches