Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 181.6 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 2.038/2.038, 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.001095/0.001095, allocations: 93.73 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.337e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09278, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5511, allocations: 83.95 MB / 453.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5515, allocations: 91.94 kB / 453.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1036/0.6552, allocations: 21.14 MB / 474.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6552, allocations: 0 / 474.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.6554, allocations: 31.92 kB / 474.3 MB, free: 5.812 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004883/0.6603, allocations: 1.362 MB / 475.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.6603, allocations: 12.03 kB / 475.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.6611, allocations: 154.2 kB / 475.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.664, allocations: 0.9492 MB / 476.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.6642, allocations: 74.03 kB / 476.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.6645, allocations: 104 kB / 477 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.6685, allocations: 1.478 MB / 478.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6686, allocations: 4 kB / 478.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.6688, allocations: 47.98 kB / 478.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/0.6689, allocations: 46.02 kB / 478.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.6725, allocations: 1.285 MB / 479.8 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.6847, allocations: 4.969 MB / 484.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.6874, allocations: 1.417 MB / 486.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.6894, allocations: 0.6999 MB / 486.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.6895, allocations: 12.56 kB / 486.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.6909, allocations: 0.579 MB / 487.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.108e-06/0.6909, allocations: 0 / 487.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.003452/0.6944, allocations: 1.18 MB / 488.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.6945, allocations: 89.83 kB / 488.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.6964, allocations: 0.8283 MB / 489.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.6966, allocations: 41.7 kB / 489.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.6973, allocations: 0.5216 MB / 490.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.6977, allocations: 232.7 kB / 490.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.6978, allocations: 12 kB / 490.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.698, allocations: 342.8 kB / 490.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/0.6989, allocations: 385.3 kB / 491.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7, allocations: 0.5027 MB / 491.6 MB, free: 3.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.7011, allocations: 411 kB / 492 MB, free: 3.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.7011, allocations: 3.984 kB / 492 MB, free: 3.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002956/0.7041, allocations: 1.156 MB / 493.2 MB, free: 2.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.7041, allocations: 4 kB / 493.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7041, allocations: 4 kB / 493.2 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.7057, allocations: 388.4 kB / 493.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.7067, allocations: 119.8 kB / 493.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/0.7153, allocations: 4.119 MB / 497.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.7164, allocations: 83.55 kB / 497.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.7165, allocations: 24 kB / 497.9 MB, free: 13.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.7168, allocations: 159.4 kB / 498.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.7171, allocations: 90.88 kB / 498.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.7175, allocations: 120.5 kB / 498.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.7175, allocations: 8 kB / 498.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7175, allocations: 3.984 kB / 498.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7175, allocations: 3.953 kB / 498.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/0.7239, allocations: 2.537 MB / 0.4891 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.724, allocations: 11.94 kB / 0.4891 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.7248, allocations: 87.88 kB / 0.4892 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.7263, allocations: 384.6 kB / 0.4895 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/0.7264, allocations: 12 kB / 0.4895 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008247/0.7346, allocations: 4.068 MB / 0.4935 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.7347, allocations: 4 kB / 0.4935 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.7392, allocations: 1.853 MB / 0.4953 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008107/0.7401, allocations: 283.8 kB / 0.4956 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.7403, allocations: 15.95 kB / 0.4956 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.7411, allocations: 55.94 kB / 0.4957 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.7414, allocations: 72.67 kB / 0.4957 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.7415, allocations: 19.98 kB / 0.4958 GB, free: 3.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.7429, allocations: 0.6592 MB / 0.4964 GB, free: 2.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.395e-06/0.743, allocations: 0 / 0.4964 GB, free: 2.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001334/0.7443, allocations: 350.8 kB / 0.4967 GB, free: 2.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002627/0.7446, allocations: 136.1 kB / 0.4969 GB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.7476, allocations: 1.199 MB / 0.498 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7476, allocations: 0 / 0.498 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.7495, allocations: 0.7678 MB / 0.4988 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.7511, allocations: 227.5 kB / 0.499 GB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.7577, allocations: 2.098 MB / 0.5011 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.7592, allocations: 1.377 MB / 0.5024 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.7596, allocations: 67.42 kB / 0.5025 GB, free: 12.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7596, allocations: 0 / 0.5025 GB, free: 12.47 MB / 394.7 MB Notification: Performance of Templates: time 0.05477/0.8144, allocations: 21.08 MB / 0.5231 GB, free: 7.352 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches