Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 56.78 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09713, allocations: 50.54 MB / 358.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005612/0.1028, allocations: 3.696 MB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1049, allocations: 1.091 MB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1051, allocations: 15.94 kB / 363.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1055, allocations: 103.1 kB / 363.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007152/0.1062, allocations: 222.7 kB / 363.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1065, allocations: 163.6 kB / 363.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009932/0.1075, allocations: 0.9613 MB / 364.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.1083, allocations: 0.6044 MB / 365.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.1088, allocations: 418.5 kB / 365.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/0.1094, allocations: 494.1 kB / 366.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1096, allocations: 104 kB / 366.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1098, allocations: 108 kB / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.1101, allocations: 283.1 kB / 366.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.1106, allocations: 485.7 kB / 367.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1118, allocations: 1.293 MB / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1118, allocations: 0 / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1118, allocations: 0 / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1119, allocations: 0 / 368.4 MB, free: 3.859 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.002151/0.114, allocations: 1.173 MB / 369.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1141, allocations: 8.031 kB / 369.6 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.1145, allocations: 127.8 kB / 369.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/0.1155, allocations: 0.6451 MB / 370.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.1155, allocations: 53.25 kB / 370.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1156, allocations: 64 kB / 370.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1171, allocations: 0.915 MB / 371.4 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1172, allocations: 3.906 kB / 371.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/0.1173, allocations: 32 kB / 371.5 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.1173, allocations: 29.3 kB / 371.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.152/0.2694, allocations: 0.7894 MB / 372.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.2736, allocations: 2.805 MB / 375.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000849/0.2744, allocations: 0.7456 MB / 375.8 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.2751, allocations: 341.5 kB / 376.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.2751, allocations: 7.297 kB / 376.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/0.2757, allocations: 379.1 kB / 376.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 3.857e-06/0.2757, allocations: 2.766 kB / 376.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002719/0.2785, allocations: 1.226 MB / 377.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.2785, allocations: 124.2 kB / 377.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.2792, allocations: 0.5812 MB / 378.5 MB, free: 17.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.2793, allocations: 37.06 kB / 378.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.2795, allocations: 366.9 kB / 378.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.2796, allocations: 138.5 kB / 379 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2798, allocations: 90.27 kB / 379.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.2799, allocations: 372.2 kB / 379.4 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.2802, allocations: 222.7 kB / 379.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.2807, allocations: 362.5 kB / 380 MB, free: 16.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.2814, allocations: 0.5655 MB / 380.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2814, allocations: 1.406 kB / 380.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001198/0.2826, allocations: 0.7543 MB / 381.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2827, allocations: 7.922 kB / 381.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2827, allocations: 7.656 kB / 381.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.2832, allocations: 207.3 kB / 381.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2835, allocations: 78.97 kB / 381.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.2864, allocations: 3.036 MB / 384.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.2868, allocations: 49.98 kB / 384.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2869, allocations: 19.11 kB / 384.7 MB, free: 13.07 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.0004119/0.2873, allocations: 328.2 kB / 385.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.2874, allocations: 59.72 kB / 385.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2875, allocations: 75.17 kB / 385.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2875, allocations: 5.578 kB / 385.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2875, allocations: 2.312 kB / 385.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2875, allocations: 7.156 kB / 385.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.29, allocations: 1.749 MB / 387 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2901, allocations: 1.219 kB / 387 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.2903, allocations: 46.23 kB / 387 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.2907, allocations: 198.2 kB / 387.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.2907, allocations: 8.422 kB / 387.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.2932, allocations: 2.923 MB / 390.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2932, allocations: 1.25 kB / 390.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2948, allocations: 1.147 MB / 391.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.2951, allocations: 189.8 kB / 391.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.2951, allocations: 10.31 kB / 391.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.2954, allocations: 24.41 kB / 391.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2956, allocations: 54.02 kB / 391.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2956, allocations: 17.42 kB / 391.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004549/0.2961, allocations: 431.6 kB / 392 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2961, allocations: 0 / 392 MB, free: 8.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000768/0.2968, allocations: 210.2 kB / 392.2 MB, free: 8.484 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.0001447/0.297, allocations: 119.3 kB / 392.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.2983, allocations: 0.7804 MB / 393.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.2984, allocations: 0 / 393.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.299, allocations: 476.5 kB / 393.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.2997, allocations: 154.1 kB / 393.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.3022, allocations: 1.596 MB / 395.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.3027, allocations: 1.063 MB / 396.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3028, allocations: 45.78 kB / 396.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3028, allocations: 0 / 396.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01667/0.3195, allocations: 13.06 MB / 409.5 MB, free: 10.83 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches