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.001609/0.001609, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001117/0.001117, allocations: 98.92 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003858, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4575, allocations: 84.03 MB / 458.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.4579, allocations: 95.94 kB / 458.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0885/0.5464, allocations: 21.1 MB / 479.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5465, allocations: 0 / 479.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.5466, allocations: 24 kB / 479.8 MB, free: 7.332 MB / 362.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.005708/0.5523, allocations: 1.54 MB / 481.3 MB, free: 5.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5524, allocations: 8.031 kB / 481.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006998/0.5531, allocations: 154.2 kB / 481.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.556, allocations: 0.9608 MB / 482.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.5561, allocations: 77.97 kB / 482.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.5565, allocations: 108 kB / 482.6 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.5612, allocations: 1.524 MB / 484.2 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.5613, allocations: 3.984 kB / 484.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.5615, allocations: 47.98 kB / 484.2 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.427e-05/0.5616, allocations: 38.03 kB / 484.3 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.5663, allocations: 1.39 MB / 485.6 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.5791, allocations: 4.97 MB / 490.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.5822, allocations: 1.46 MB / 492.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.5823, allocations: 8.562 kB / 492.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.5841, allocations: 0.6122 MB / 492.7 MB, free: 9.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 3.978e-06/0.5842, allocations: 0 / 492.7 MB, free: 9.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.01091/0.5951, allocations: 2.459 MB / 495.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.5952, allocations: 89.75 kB / 495.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.5972, allocations: 0.8398 MB / 496.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.5974, allocations: 41.69 kB / 496.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.598, allocations: 0.5178 MB / 496.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.5983, allocations: 228.7 kB / 496.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.5984, allocations: 16 kB / 496.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5986, allocations: 346.8 kB / 497.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.5999, allocations: 413.7 kB / 497.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.6013, allocations: 0.5515 MB / 498.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.6027, allocations: 457.9 kB / 498.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.6027, allocations: 0 / 498.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003573/0.6063, allocations: 1.226 MB / 499.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.6064, allocations: 12.89 kB / 499.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6064, allocations: 4 kB / 499.9 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.608, allocations: 399.1 kB / 0.4885 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.609, allocations: 115.8 kB / 0.4886 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2741/0.8832, allocations: 4.253 MB / 0.4928 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8843, allocations: 89.75 kB / 0.4929 GB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.8844, allocations: 22.84 kB / 0.4929 GB, free: 100.6 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 () * Number of clocked 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.001069/0.8855, allocations: 0.489 MB / 0.4934 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.8858, allocations: 90.91 kB / 0.4935 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.8862, allocations: 122.6 kB / 0.4936 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.8862, allocations: 6.812 kB / 0.4936 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8862, allocations: 0.9062 kB / 0.4936 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.8862, allocations: 5.578 kB / 0.4936 GB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/0.8926, allocations: 2.581 MB / 0.4961 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.8927, allocations: 3.953 kB / 0.4961 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.8935, allocations: 89.69 kB / 0.4962 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.895, allocations: 382.8 kB / 0.4966 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.8951, allocations: 19.55 kB / 0.4966 GB, free: 100.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007998/0.9031, allocations: 4.216 MB / 0.5007 GB, free: 98.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9032, allocations: 0 / 0.5007 GB, free: 98.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/0.9082, allocations: 1.98 MB / 0.5026 GB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007335/0.9089, allocations: 288.6 kB / 0.5029 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.9092, allocations: 11.91 kB / 0.5029 GB, free: 97.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/0.91, allocations: 54.31 kB / 0.503 GB, free: 97.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.9103, allocations: 74.62 kB / 0.503 GB, free: 97.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.9104, allocations: 21.77 kB / 0.5031 GB, free: 97.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.9117, allocations: 0.6635 MB / 0.5037 GB, free: 97.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9117, allocations: 0 / 0.5037 GB, free: 97.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001472/0.9132, allocations: 350.9 kB / 0.5041 GB, free: 97.46 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) * Number of clocked states: 0 () * 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.0002549/0.9134, allocations: 135.5 kB / 0.5042 GB, free: 97.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003407/0.9169, allocations: 1.282 MB / 0.5054 GB, free: 96.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9169, allocations: 0 / 0.5054 GB, free: 96.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.9189, allocations: 0.8196 MB / 0.5062 GB, free: 96.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.9206, allocations: 236.7 kB / 0.5065 GB, free: 96.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.928, allocations: 3.067 MB / 0.5095 GB, free: 94.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.9292, allocations: 1.374 MB / 0.5108 GB, free: 94.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.9296, allocations: 58.06 kB / 0.5108 GB, free: 94.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.9296, allocations: 0 / 0.5108 GB, free: 94.09 MB / 378.7 MB Notification: Performance of Templates: time 0.0356/0.9652, allocations: 21.06 MB / 0.5314 GB, free: 80.88 MB / 378.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