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.001488/0.001488, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001736/0.001736, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.347/1.347, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 52.27 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1069, allocations: 49.44 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005115/0.112, allocations: 3.658 MB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1138, allocations: 1.017 MB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.114, allocations: 15.94 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1143, allocations: 99.14 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.1149, allocations: 222.6 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1152, allocations: 143.8 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008649/0.1161, allocations: 0.9534 MB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.1167, allocations: 0.5965 MB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.1171, allocations: 418.5 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.1177, allocations: 494.1 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1179, allocations: 100 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.118, allocations: 100 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1182, allocations: 275.2 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.1186, allocations: 485.7 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009999/0.1197, allocations: 1.277 MB / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1197, allocations: 0 / 361.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1197, allocations: 8 kB / 361.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1197, allocations: 0 / 361.3 MB, free: 9.805 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.001954/0.1217, allocations: 1.166 MB / 362.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1217, allocations: 8.031 kB / 362.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1218, allocations: 95.81 kB / 362.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/0.1228, allocations: 0.6352 MB / 363.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.1228, allocations: 53.25 kB / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.123, allocations: 67.94 kB / 363.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1243, allocations: 0.9189 MB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1243, allocations: 0 / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.1244, allocations: 28 kB / 364.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.1245, allocations: 29.3 kB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1257, allocations: 0.7936 MB / 365.1 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.1296, allocations: 2.776 MB / 367.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.1304, allocations: 0.7537 MB / 368.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.131, allocations: 341.2 kB / 369 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.131, allocations: 8.328 kB / 369 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/0.1316, allocations: 377.9 kB / 369.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 4.108e-06/0.1316, allocations: 0 / 369.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002712/0.1343, allocations: 1.243 MB / 370.6 MB, free: 196 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1344, allocations: 106.8 kB / 370.7 MB, free: 64 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1836/0.318, allocations: 0.5608 MB / 371.3 MB, free: 26.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.3181, allocations: 36.69 kB / 371.3 MB, free: 26.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.3184, allocations: 362.1 kB / 371.6 MB, free: 26.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3185, allocations: 133.4 kB / 371.8 MB, free: 26.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3187, allocations: 96.73 kB / 371.9 MB, free: 26.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.3188, allocations: 363.8 kB / 372.2 MB, free: 25.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.3192, allocations: 218.4 kB / 372.4 MB, free: 25.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3196, allocations: 363.3 kB / 372.8 MB, free: 25.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.3204, allocations: 0.5705 MB / 373.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3204, allocations: 1.812 kB / 373.4 MB, free: 25.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001255/0.3217, allocations: 0.7538 MB / 374.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3217, allocations: 8.328 kB / 374.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3218, allocations: 4.5 kB / 374.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.3223, allocations: 208 kB / 374.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.3227, allocations: 71.59 kB / 374.4 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3257, allocations: 3.028 MB / 377.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3261, allocations: 54.3 kB / 377.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.3261, allocations: 19.53 kB / 377.5 MB, free: 22.54 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.000465/0.3266, allocations: 326.6 kB / 377.8 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.3267, allocations: 62.44 kB / 377.9 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.3268, allocations: 69 kB / 378 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3268, allocations: 9 kB / 378 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3268, allocations: 2.812 kB / 378 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3268, allocations: 5.125 kB / 378 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.3294, allocations: 1.74 MB / 379.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3294, allocations: 0 / 379.7 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3297, allocations: 51.27 kB / 379.8 MB, free: 21.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.3302, allocations: 195.6 kB / 380 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.3302, allocations: 8.688 kB / 380 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.3331, allocations: 2.909 MB / 382.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3331, allocations: 3.938 kB / 382.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.3349, allocations: 1.138 MB / 384 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.3352, allocations: 192.5 kB / 384.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.515e-05/0.3353, allocations: 7.938 kB / 384.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.3356, allocations: 35.38 kB / 384.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3358, allocations: 45.73 kB / 384.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.3358, allocations: 15.34 kB / 384.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005876/0.3364, allocations: 418 kB / 384.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3364, allocations: 0 / 384.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.3372, allocations: 207.3 kB / 384.9 MB, free: 18.27 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.0001454/0.3374, allocations: 115.7 kB / 385 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3386, allocations: 0.7278 MB / 385.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3386, allocations: 2.156 kB / 385.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.3393, allocations: 482.4 kB / 386.2 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.34, allocations: 146.7 kB / 386.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3425, allocations: 1.533 MB / 387.9 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.343, allocations: 1.073 MB / 389 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.3433, allocations: 95.56 kB / 389.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3434, allocations: 39.81 kB / 389.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3434, allocations: 0 / 389.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of Templates: time 0.01439/0.3578, allocations: 10.03 MB / 399.1 MB, free: 9.566 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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