Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.33 kB / 307.6 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.0923, allocations: 50.53 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005926/0.09829, allocations: 3.7 MB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1007, allocations: 1.083 MB / 362.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1012, allocations: 19.88 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.1017, allocations: 95.14 kB / 363.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.1028, allocations: 234.6 kB / 363.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1034, allocations: 151.7 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.1049, allocations: 0.9651 MB / 364.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.1059, allocations: 0.6122 MB / 365 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.1067, allocations: 414.6 kB / 365.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.1075, allocations: 498 kB / 365.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.1078, allocations: 108 kB / 366 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.1081, allocations: 104 kB / 366.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.1084, allocations: 283.2 kB / 366.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006557/0.1091, allocations: 477.8 kB / 366.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1103, allocations: 1.289 MB / 368.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1103, allocations: 3.938 kB / 368.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1103, allocations: 0 / 368.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.1104, allocations: 0 / 368.1 MB, free: 4.062 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.00249/0.1129, allocations: 1.177 MB / 369.3 MB, free: 2.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1129, allocations: 8.031 kB / 369.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/0.1135, allocations: 127.8 kB / 369.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1146, allocations: 0.6451 MB / 370.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.1146, allocations: 53.25 kB / 370.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1148, allocations: 60 kB / 370.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.1163, allocations: 0.9189 MB / 371.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.1163, allocations: 7.844 kB / 371.1 MB, free: 0.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.1164, allocations: 28 kB / 371.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.1165, allocations: 29.3 kB / 371.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1178, allocations: 0.7936 MB / 372 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1519/0.2698, allocations: 2.8 MB / 374.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.2707, allocations: 0.7507 MB / 375.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.2713, allocations: 341 kB / 375.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.2714, allocations: 8.609 kB / 375.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/0.272, allocations: 390.7 kB / 376.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.272, allocations: 2.031 kB / 376.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002824/0.2748, allocations: 1.223 MB / 377.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2749, allocations: 114.4 kB / 377.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.2756, allocations: 0.5852 MB / 378.2 MB, free: 17.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2756, allocations: 37.5 kB / 378.2 MB, free: 17.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2759, allocations: 363.3 kB / 378.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.276, allocations: 142.8 kB / 378.7 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2762, allocations: 92.17 kB / 378.8 MB, free: 16.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2763, allocations: 367.3 kB / 379.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.2767, allocations: 221.5 kB / 379.4 MB, free: 16.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.2771, allocations: 363.8 kB / 379.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.2779, allocations: 0.5713 MB / 380.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2779, allocations: 1.156 kB / 380.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001339/0.2793, allocations: 0.7525 MB / 381.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2793, allocations: 9.125 kB / 381.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2793, allocations: 4.312 kB / 381.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/0.2799, allocations: 216.4 kB / 381.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.2802, allocations: 72.5 kB / 381.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.2833, allocations: 3.033 MB / 384.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.2837, allocations: 54.05 kB / 384.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2837, allocations: 18.91 kB / 384.5 MB, free: 13.27 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.0004492/0.2842, allocations: 323.9 kB / 384.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.2843, allocations: 59.77 kB / 384.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2844, allocations: 67.31 kB / 384.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2844, allocations: 8.469 kB / 384.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2844, allocations: 5.062 kB / 384.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.2844, allocations: 4.641 kB / 384.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.287, allocations: 1.761 MB / 386.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2871, allocations: 1.125 kB / 386.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.2873, allocations: 41.31 kB / 386.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.2877, allocations: 200.4 kB / 386.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.2878, allocations: 13.14 kB / 386.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.2903, allocations: 2.91 MB / 389.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2904, allocations: 2.812 kB / 389.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.292, allocations: 1.145 MB / 391 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.2922, allocations: 193.4 kB / 391.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.2923, allocations: 8.594 kB / 391.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.2926, allocations: 27.88 kB / 391.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2927, allocations: 43.19 kB / 391.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.2928, allocations: 22.14 kB / 391.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004851/0.2933, allocations: 430.9 kB / 391.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2933, allocations: 0 / 391.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007711/0.294, allocations: 210.8 kB / 391.9 MB, free: 8.703 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.0001537/0.2942, allocations: 126.9 kB / 392 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.2956, allocations: 0.7791 MB / 392.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2956, allocations: 1.125 kB / 392.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.2963, allocations: 484.9 kB / 393.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.297, allocations: 151.8 kB / 393.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.2995, allocations: 1.6 MB / 395 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2999, allocations: 1.071 MB / 396.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3001, allocations: 39.06 kB / 396.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3001, allocations: 0 / 396.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of Templates: time 0.01408/0.3141, allocations: 13.05 MB / 409.2 MB, free: 11.06 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches