Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001543/0.001543, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.404/1.404, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008325/0.0008324, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.168e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08452, allocations: 47.58 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.3866, allocations: 83.94 MB / 454 MB, free: 9.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.387, allocations: 83.55 kB / 454.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07604/0.463, allocations: 21.15 MB / 475.2 MB, free: 5.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4631, allocations: 0 / 475.2 MB, free: 5.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.4632, allocations: 27.94 kB / 475.2 MB, free: 5.504 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.003741/0.467, allocations: 1.366 MB / 476.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.467, allocations: 12.03 kB / 476.6 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.4674, allocations: 154.2 kB / 476.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.4698, allocations: 0.957 MB / 477.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.4699, allocations: 74.03 kB / 477.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.4702, allocations: 100 kB / 477.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.4737, allocations: 1.474 MB / 479.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.4737, allocations: 0 / 479.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.4739, allocations: 51.98 kB / 479.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.101e-05/0.474, allocations: 46.03 kB / 479.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003232/0.4772, allocations: 1.285 MB / 480.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.4881, allocations: 4.972 MB / 485.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.4905, allocations: 1.424 MB / 487.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.4921, allocations: 0.6999 MB / 487.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.4922, allocations: 8.562 kB / 487.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.4935, allocations: 0.5867 MB / 488.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.148e-06/0.4936, allocations: 0 / 488.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.003183/0.4968, allocations: 1.176 MB / 489.6 MB, free: 6.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.4969, allocations: 89.89 kB / 489.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.4987, allocations: 0.8322 MB / 490.5 MB, free: 5.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.4989, allocations: 45.64 kB / 490.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.4996, allocations: 0.5191 MB / 491.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.4999, allocations: 228.7 kB / 491.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.4999, allocations: 12 kB / 491.3 MB, free: 4.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.5001, allocations: 337.9 kB / 491.7 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008628/0.501, allocations: 377.4 kB / 492 MB, free: 4.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.5021, allocations: 0.5065 MB / 492.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.503, allocations: 415.1 kB / 492.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.5031, allocations: 0 / 492.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002978/0.506, allocations: 1.206 MB / 494.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.5061, allocations: 11.98 kB / 494.2 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5061, allocations: 4 kB / 494.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5075, allocations: 384.1 kB / 494.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.5083, allocations: 123.8 kB / 494.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00695/0.5152, allocations: 4.119 MB / 498.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.5163, allocations: 83.55 kB / 498.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.5164, allocations: 28 kB / 498.9 MB, free: 13.06 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.0002981/0.5167, allocations: 150.5 kB / 499 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5169, allocations: 94.88 kB / 499.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.5174, allocations: 116.5 kB / 499.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.5174, allocations: 8 kB / 499.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5174, allocations: 0 / 499.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5174, allocations: 11.94 kB / 499.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/0.5231, allocations: 2.537 MB / 0.49 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5232, allocations: 0 / 0.49 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.5239, allocations: 91.88 kB / 0.4901 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.5251, allocations: 388.5 kB / 0.4905 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.5252, allocations: 15.98 kB / 0.4905 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00743/0.5327, allocations: 4.065 MB / 0.4945 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.5327, allocations: 4 kB / 0.4945 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.5368, allocations: 1.853 MB / 0.4963 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.5376, allocations: 287.8 kB / 0.4966 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.5378, allocations: 15.95 kB / 0.4966 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007248/0.5385, allocations: 43.95 kB / 0.4966 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.5388, allocations: 80.66 kB / 0.4967 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.5389, allocations: 20 kB / 0.4967 GB, free: 3.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001321/0.5402, allocations: 0.6592 MB / 0.4974 GB, free: 2.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5402, allocations: 0 / 0.4974 GB, free: 2.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001497/0.5417, allocations: 346.9 kB / 0.4977 GB, free: 2.059 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.0002908/0.542, allocations: 131.1 kB / 0.4978 GB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.5448, allocations: 1.203 MB / 0.499 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.5448, allocations: 8.234 kB / 0.499 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.5465, allocations: 0.7676 MB / 0.4998 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5479, allocations: 233.5 kB / 0.5 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/0.5541, allocations: 2.089 MB / 0.502 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.5556, allocations: 1.399 MB / 0.5034 GB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008398/0.5564, allocations: 171.2 kB / 0.5035 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.5567, allocations: 63.36 kB / 0.5036 GB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5567, allocations: 0 / 0.5036 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Templates: time 0.0421/0.5988, allocations: 16.51 MB / 0.5197 GB, free: 11.38 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches