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.001072/0.001072, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.00109/0.00109, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.349/1.349, allocations: 222.9 MB / 242.2 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009762/0.0009764, allocations: 40.12 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08964, allocations: 49.44 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006097/0.09578, allocations: 4.55 MB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.09822, allocations: 1.219 MB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.09857, allocations: 27.88 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.09898, allocations: 158.7 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009735/0.09996, allocations: 354 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.1004, allocations: 195.7 kB / 357.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1017, allocations: 1.588 MB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.1028, allocations: 1.114 MB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.1037, allocations: 0.6774 MB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.1047, allocations: 0.8523 MB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.1049, allocations: 176 kB / 361.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1052, allocations: 176 kB / 361.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.1056, allocations: 474.7 kB / 362.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.1064, allocations: 0.7933 MB / 363.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1081, allocations: 2.216 MB / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1081, allocations: 0 / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1081, allocations: 0 / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.1082, allocations: 0 / 365.3 MB, free: 5.809 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.003149/0.1113, allocations: 1.775 MB / 367.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1114, allocations: 12.03 kB / 367.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.1116, allocations: 151.1 kB / 367.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1129, allocations: 0.9539 MB / 368.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.113, allocations: 86.42 kB / 368.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1132, allocations: 104.1 kB / 368.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.1155, allocations: 1.553 MB / 369.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.1155, allocations: 11.98 kB / 369.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.1157, allocations: 40 kB / 370 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.1157, allocations: 46.03 kB / 370 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1733/0.289, allocations: 1.432 MB / 371.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/0.2963, allocations: 4.932 MB / 376.4 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.2979, allocations: 1.447 MB / 377.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.2991, allocations: 0.734 MB / 378.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.2992, allocations: 11.58 kB / 378.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.3002, allocations: 0.6186 MB / 379.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.3002, allocations: 0 / 379.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005791/0.306, allocations: 2.437 MB / 381.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3061, allocations: 88 kB / 381.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3073, allocations: 0.9327 MB / 382.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.3073, allocations: 42.23 kB / 382.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.3077, allocations: 0.5293 MB / 383.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3078, allocations: 233.5 kB / 383.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.3081, allocations: 134.9 kB / 383.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.598e-05/0.3081, allocations: 332.7 kB / 383.9 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.3088, allocations: 410.6 kB / 384.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.3095, allocations: 0.5542 MB / 384.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.3108, allocations: 0.945 MB / 385.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3108, allocations: 1.031 kB / 385.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001941/0.3128, allocations: 1.289 MB / 387.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3128, allocations: 7.188 kB / 387.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3128, allocations: 3.281 kB / 387.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.3137, allocations: 398.5 kB / 387.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3142, allocations: 121.3 kB / 387.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/0.3188, allocations: 4.506 MB / 392.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.3194, allocations: 87.05 kB / 392.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.3195, allocations: 20.69 kB / 392.2 MB, free: 13.24 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.0007163/0.3202, allocations: 494.6 kB / 392.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3204, allocations: 97.03 kB / 392.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.3205, allocations: 120.6 kB / 392.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3206, allocations: 15.5 kB / 392.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3206, allocations: 0 / 392.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3206, allocations: 3.984 kB / 392.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.3241, allocations: 2.591 MB / 395.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3241, allocations: 0 / 395.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.3245, allocations: 86.62 kB / 395.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006596/0.3252, allocations: 389.1 kB / 396 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.3252, allocations: 11.62 kB / 396 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.3292, allocations: 4.49 MB / 400.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3292, allocations: 3.938 kB / 400.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.3315, allocations: 1.951 MB / 402.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.3318, allocations: 287.8 kB / 402.7 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.332, allocations: 16 kB / 402.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.3324, allocations: 51.94 kB / 402.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3326, allocations: 76.48 kB / 402.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.3326, allocations: 23.98 kB / 402.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.3333, allocations: 0.6669 MB / 403.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3333, allocations: 0 / 403.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008667/0.3342, allocations: 350.9 kB / 403.9 MB, free: 3.449 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.0001458/0.3343, allocations: 135.1 kB / 404 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.3364, allocations: 1.43 MB / 405.5 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3364, allocations: 0 / 405.5 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.3374, allocations: 0.8083 MB / 406.3 MB, free: 1.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.3384, allocations: 252 kB / 406.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.3427, allocations: 2.66 MB / 409.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.3437, allocations: 1.354 MB / 410.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3439, allocations: 67.36 kB / 410.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3439, allocations: 0 / 410.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02933/0.3733, allocations: 21.95 MB / 432.5 MB, free: 6.809 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/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