Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 93.92 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.121e-05, allocations: 7.938 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.08914, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4931, allocations: 83.25 MB / 452.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.4935, allocations: 84.14 kB / 452.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05822/0.5518, allocations: 13.51 MB / 465.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5518, allocations: 4 kB / 465.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.033e-05/0.5519, allocations: 16 kB / 466 MB, free: 14.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002771/0.5547, allocations: 0.9372 MB / 466.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.5548, allocations: 8.031 kB / 466.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.5551, allocations: 90.97 kB / 467 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.5568, allocations: 0.6148 MB / 467.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.5569, allocations: 45.31 kB / 467.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5571, allocations: 68 kB / 467.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.5594, allocations: 0.8802 MB / 468.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.5595, allocations: 0 / 468.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.5596, allocations: 28 kB / 468.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/0.5597, allocations: 37.25 kB / 468.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5617, allocations: 0.7157 MB / 469.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006716/0.5684, allocations: 2.823 MB / 472.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5698, allocations: 0.7182 MB / 472.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.5707, allocations: 325.4 kB / 473.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.5707, allocations: 4.328 kB / 473.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008346/0.5716, allocations: 366 kB / 473.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.036e-06/0.5716, allocations: 0 / 473.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001828/0.5734, allocations: 0.6416 MB / 474.2 MB, free: 5.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.5735, allocations: 106.8 kB / 474.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5746, allocations: 0.5037 MB / 474.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/0.5747, allocations: 41.69 kB / 474.9 MB, free: 4.969 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.5751, allocations: 378.4 kB / 475.3 MB, free: 4.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.5753, allocations: 142.1 kB / 475.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.5753, allocations: 8 kB / 475.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5755, allocations: 330.8 kB / 475.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.576, allocations: 201 kB / 475.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.5766, allocations: 332.9 kB / 476.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.5772, allocations: 231.5 kB / 476.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5773, allocations: 4 kB / 476.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00178/0.579, allocations: 0.6776 MB / 477.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.5791, allocations: 4 kB / 477.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5791, allocations: 4 kB / 477.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.5799, allocations: 204.7 kB / 477.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.5805, allocations: 71.89 kB / 477.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.5855, allocations: 2.776 MB / 480.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.5863, allocations: 59.62 kB / 480.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.5863, allocations: 19.98 kB / 480.3 MB, free: 15.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/0.5865, allocations: 133.1 kB / 480.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5867, allocations: 55.34 kB / 480.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.5869, allocations: 69.05 kB / 480.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5869, allocations: 15.89 kB / 480.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.587, allocations: 0 / 480.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.587, allocations: 4 kB / 480.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.5911, allocations: 1.729 MB / 482.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5911, allocations: 0 / 482.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.5916, allocations: 51.91 kB / 482.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007186/0.5923, allocations: 192.7 kB / 482.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.5924, allocations: 15.98 kB / 482.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.5969, allocations: 2.635 MB / 485.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5969, allocations: 7.938 kB / 485.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.5996, allocations: 1.084 MB / 486.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/0.6, allocations: 192.4 kB / 486.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6002, allocations: 11.95 kB / 486.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.6007, allocations: 31.97 kB / 486.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.6009, allocations: 43.94 kB / 486.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.601, allocations: 15.98 kB / 486.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007978/0.6018, allocations: 409.5 kB / 487 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6018, allocations: 0 / 487 MB, free: 8.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009854/0.6028, allocations: 203.4 kB / 487.2 MB, free: 8.23 MB / 362.7 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002315/0.603, allocations: 124.7 kB / 487.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.6048, allocations: 0.6893 MB / 488 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6048, allocations: 0 / 488 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.6058, allocations: 474.6 kB / 488.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6068, allocations: 130.5 kB / 488.6 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.6099, allocations: 1.095 MB / 489.7 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/0.6108, allocations: 1.078 MB / 490.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.6111, allocations: 39.44 kB / 490.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/0.6111, allocations: 0 / 490.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of Templates: time 0.02586/0.637, allocations: 12.26 MB / 0.4912 GB, free: 8.238 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches