Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 178.6 kB / 8.697 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009067, allocations: 82.72 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.304e-05, allocations: 4 kB / 315.5 MB, free: 22.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08463, allocations: 47.58 MB / 363.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3001/0.3848, allocations: 80.02 MB / 443.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3851, allocations: 83.25 kB / 443.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.4016, allocations: 6.215 MB / 449.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4016, allocations: 4 kB / 449.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.4016, allocations: 8 kB / 449.4 MB, free: 10.44 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009483/0.4026, allocations: 0.6062 MB / 450 MB, free: 9.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4027, allocations: 8.031 kB / 450 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4028, allocations: 47.78 kB / 450.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.4033, allocations: 334.3 kB / 450.4 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4033, allocations: 19.92 kB / 450.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.4034, allocations: 23.94 kB / 450.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003972/0.4038, allocations: 207.7 kB / 450.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.4043, allocations: 313.9 kB / 451 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4043, allocations: 0 / 451 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.4044, allocations: 4 kB / 451 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4044, allocations: 8 kB / 451 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.4062, allocations: 1.409 MB / 452.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.4065, allocations: 213.3 kB / 452.6 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.4068, allocations: 146.1 kB / 452.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.4069, allocations: 7.172 kB / 452.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.4072, allocations: 209.1 kB / 452.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.4072, allocations: 0 / 452.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006131/0.4078, allocations: 294 kB / 453.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.4079, allocations: 113.9 kB / 453.3 MB, free: 6.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.4081, allocations: 232.8 kB / 453.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.4082, allocations: 29.73 kB / 453.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4083, allocations: 210.4 kB / 453.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.4084, allocations: 96.58 kB / 453.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.4084, allocations: 0 / 453.9 MB, free: 6.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4085, allocations: 344.6 kB / 454.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4086, allocations: 69.31 kB / 454.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4088, allocations: 182.5 kB / 454.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.409, allocations: 100.1 kB / 454.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.409, allocations: 0 / 454.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005124/0.4095, allocations: 340.6 kB / 454.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4095, allocations: 8 kB / 454.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4096, allocations: 4.469 kB / 454.9 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.4098, allocations: 85 kB / 455 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4101, allocations: 59.41 kB / 455.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.4117, allocations: 1.719 MB / 456.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4119, allocations: 31.67 kB / 456.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.412, allocations: 19.25 kB / 456.8 MB, free: 3.766 MB / 330.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4121, allocations: 118.1 kB / 456.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.4121, allocations: 31.62 kB / 457 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.4122, allocations: 32.97 kB / 457 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4122, allocations: 4 kB / 457 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4122, allocations: 7.938 kB / 457 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4122, allocations: 3.984 kB / 457 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.4128, allocations: 0.5083 MB / 457.5 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4128, allocations: 4 kB / 457.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.413, allocations: 27.98 kB / 457.6 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.4132, allocations: 82.53 kB / 457.6 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4132, allocations: 4 kB / 457.6 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.4146, allocations: 1.73 MB / 459.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4146, allocations: 0 / 459.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.4154, allocations: 466.8 kB / 459.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4155, allocations: 126.1 kB / 460 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.4156, allocations: 7.984 kB / 460 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4158, allocations: 11.95 kB / 460 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.4159, allocations: 31.14 kB / 460 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4159, allocations: 7.125 kB / 460 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.4161, allocations: 188.4 kB / 460.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4161, allocations: 0 / 460.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004812/0.4166, allocations: 103.6 kB / 460.3 MB, free: 0.5859 MB / 330.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.4167, allocations: 114.7 kB / 460.4 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.4173, allocations: 358.3 kB / 460.8 MB, free: 188 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4173, allocations: 4.375 kB / 460.8 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.4176, allocations: 248.5 kB / 461 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4179, allocations: 35.62 kB / 461 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.4188, allocations: 479.8 kB / 461.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4191, allocations: 0.8107 MB / 462.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.4193, allocations: 35.45 kB / 462.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.4194, allocations: 26.81 kB / 462.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4194, allocations: 0 / 462.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of Templates: time 0.007257/0.4266, allocations: 3.806 MB / 466.2 MB, free: 10.8 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches