Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 112.1 kB / 16.62 MB, free: 6.812 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.001614/0.001614, allocations: 190 kB / 17.55 MB, free: 5.934 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.442/1.442, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 58.31 kB / 300.2 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 49.44 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005075/0.1128, allocations: 3.689 MB / 353.3 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1147, allocations: 0.9975 MB / 354.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.115, allocations: 19.88 kB / 354.3 MB, free: 8 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1154, allocations: 83.41 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.1162, allocations: 203 kB / 354.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1165, allocations: 127.8 kB / 354.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009844/0.1175, allocations: 0.9496 MB / 355.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.1183, allocations: 0.5926 MB / 356.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.1188, allocations: 414.5 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007083/0.1195, allocations: 0.4943 MB / 357.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.1197, allocations: 100 kB / 357.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1199, allocations: 100 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.1201, allocations: 275.2 kB / 357.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.1207, allocations: 481.8 kB / 358.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1218, allocations: 1.27 MB / 359.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1218, allocations: 0 / 359.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1218, allocations: 0 / 359.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.603e-05/0.1218, allocations: 4 kB / 359.3 MB, free: 10.92 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002153/0.124, allocations: 1.176 MB / 360.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.124, allocations: 12.02 kB / 360.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1242, allocations: 95.81 kB / 360.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.1251, allocations: 0.6041 MB / 361.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1251, allocations: 53.25 kB / 361.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1252, allocations: 71.97 kB / 361.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.1267, allocations: 0.9228 MB / 362.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1267, allocations: 0 / 362.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.1268, allocations: 31.98 kB / 362.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.1269, allocations: 25.31 kB / 362.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1282, allocations: 0.7936 MB / 363.1 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.132, allocations: 2.807 MB / 365.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.1329, allocations: 0.7442 MB / 366.7 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.1335, allocations: 349.1 kB / 367 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1335, allocations: 4.328 kB / 367 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/0.1342, allocations: 385.9 kB / 367.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 5.05e-06/0.1342, allocations: 0 / 367.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003071/0.1373, allocations: 1.225 MB / 368.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1374, allocations: 110.8 kB / 368.7 MB, free: 1.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.1384, allocations: 0.5722 MB / 369.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.1384, allocations: 33.7 kB / 369.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.1388, allocations: 371.8 kB / 369.7 MB, free: 192 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1389, allocations: 130.1 kB / 369.8 MB, free: 60 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1671/0.306, allocations: 91.03 kB / 369.9 MB, free: 26.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3063, allocations: 366.4 kB / 370.3 MB, free: 26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.3068, allocations: 217 kB / 370.5 MB, free: 26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.3073, allocations: 360.1 kB / 370.8 MB, free: 25.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/0.3081, allocations: 0.5661 MB / 371.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3081, allocations: 2.25 kB / 371.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001372/0.3095, allocations: 0.7551 MB / 372.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3096, allocations: 6.891 kB / 372.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3096, allocations: 4.438 kB / 372.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.3101, allocations: 208.9 kB / 372.4 MB, free: 25.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.3104, allocations: 82.69 kB / 372.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.3135, allocations: 3.024 MB / 375.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.3139, allocations: 49.19 kB / 375.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3139, allocations: 22.14 kB / 375.6 MB, free: 23.08 MB / 302.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.0003936/0.3143, allocations: 337.7 kB / 375.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.3144, allocations: 55.86 kB / 375.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.3145, allocations: 65.03 kB / 376 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3145, allocations: 5.734 kB / 376 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3145, allocations: 4.188 kB / 376 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3145, allocations: 2.391 kB / 376 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.3169, allocations: 1.745 MB / 377.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3169, allocations: 7.969 kB / 377.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3171, allocations: 43.83 kB / 377.8 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.3175, allocations: 192.9 kB / 378 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3176, allocations: 12.62 kB / 378 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.3201, allocations: 2.931 MB / 380.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3202, allocations: 3.938 kB / 380.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.3218, allocations: 1.137 MB / 382.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.3221, allocations: 189.6 kB / 382.3 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.3222, allocations: 15.05 kB / 382.3 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.3224, allocations: 24.69 kB / 382.3 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3226, allocations: 43.12 kB / 382.3 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3226, allocations: 16.77 kB / 382.4 MB, free: 19.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004625/0.3231, allocations: 412.3 kB / 382.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3231, allocations: 5.062 kB / 382.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007246/0.3238, allocations: 206.4 kB / 383 MB, free: 18.84 MB / 302.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.0001314/0.324, allocations: 120.2 kB / 383.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.3254, allocations: 0.7857 MB / 383.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3254, allocations: 0 / 383.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.326, allocations: 469.4 kB / 384.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3267, allocations: 147.8 kB / 384.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3293, allocations: 1.848 MB / 386.3 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.3298, allocations: 1.068 MB / 387.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.3301, allocations: 97.39 kB / 387.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.3302, allocations: 40.59 kB / 387.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3302, allocations: 4 kB / 387.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01351/0.3437, allocations: 9.872 MB / 397.4 MB, free: 10.4 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches