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.00237/0.00237, allocations: 181.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.419/3.419, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001674/0.001674, allocations: 91.34 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.0006099, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4683, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.6525, allocations: 83.42 MB / 459.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005256/0.6531, allocations: 87.95 kB / 459.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07191/0.7251, allocations: 13.48 MB / 472.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.7251, allocations: 0 / 472.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001383/0.7253, allocations: 16 kB / 472.7 MB, free: 15.51 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00494/0.7303, allocations: 1.03 MB / 473.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.008e-05/0.7304, allocations: 8.031 kB / 473.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.7311, allocations: 95.75 kB / 473.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.7337, allocations: 0.6352 MB / 474.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.7338, allocations: 45.69 kB / 474.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.7342, allocations: 68.38 kB / 474.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/0.738, allocations: 0.9119 MB / 475.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.7381, allocations: 3.938 kB / 475.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.7383, allocations: 32 kB / 475.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.7384, allocations: 29.3 kB / 475.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.7413, allocations: 0.7585 MB / 476.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00925/0.7506, allocations: 2.835 MB / 479.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.7525, allocations: 0.7412 MB / 479.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.7538, allocations: 359.6 kB / 480.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.7539, allocations: 4.328 kB / 480.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.7552, allocations: 389.9 kB / 480.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 8.005e-06/0.7552, allocations: 0 / 480.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.005581/0.7608, allocations: 1.232 MB / 481.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.7611, allocations: 114.8 kB / 482 MB, free: 5.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.7632, allocations: 0.5605 MB / 482.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.7633, allocations: 37.7 kB / 482.6 MB, free: 5.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.7641, allocations: 351.9 kB / 482.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.7645, allocations: 138.1 kB / 483.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.7646, allocations: 4 kB / 483.1 MB, free: 4.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004686/0.7651, allocations: 370.8 kB / 483.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009625/0.7661, allocations: 221 kB / 483.7 MB, free: 4.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.7673, allocations: 352.8 kB / 484 MB, free: 3.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.7693, allocations: 0.5644 MB / 484.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/0.7694, allocations: 4 kB / 484.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00337/0.7728, allocations: 0.7587 MB / 485.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.7729, allocations: 8 kB / 485.3 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.7729, allocations: 4 kB / 485.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.7742, allocations: 209 kB / 485.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.7749, allocations: 67.91 kB / 485.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/0.7827, allocations: 2.779 MB / 488.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.7841, allocations: 55.58 kB / 488.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.7843, allocations: 19.98 kB / 488.5 MB, free: 15.12 MB / 378.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 () * Number of clocked 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.00159/0.786, allocations: 333.5 kB / 488.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.7864, allocations: 55.34 kB / 488.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.7868, allocations: 65.28 kB / 488.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.7869, allocations: 4 kB / 488.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.7869, allocations: 4 kB / 488.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.7869, allocations: 3.984 kB / 488.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.7934, allocations: 1.773 MB / 490.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.7935, allocations: 4 kB / 490.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.794, allocations: 47.91 kB / 490.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009209/0.7949, allocations: 200.8 kB / 490.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.795, allocations: 12.03 kB / 491 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.8008, allocations: 2.646 MB / 493.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8009, allocations: 0 / 493.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.8047, allocations: 1.137 MB / 494.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.8054, allocations: 192.4 kB / 494.9 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.8058, allocations: 11.94 kB / 494.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.8065, allocations: 31.97 kB / 495 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.8068, allocations: 47.92 kB / 495 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.8069, allocations: 12 kB / 495 MB, free: 8.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.8082, allocations: 414.8 kB / 495.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.8082, allocations: 0 / 495.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00175/0.81, allocations: 203.5 kB / 495.6 MB, free: 7.695 MB / 378.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) * Number of clocked states: 0 () * 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.0003895/0.8104, allocations: 120 kB / 495.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.8131, allocations: 0.7366 MB / 496.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.8131, allocations: 3.906 kB / 496.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.8146, allocations: 486.6 kB / 497 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.8164, allocations: 150.2 kB / 497.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.8222, allocations: 1.696 MB / 498.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.8236, allocations: 1.059 MB / 499.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8239, allocations: 43.42 kB / 499.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8239, allocations: 0 / 499.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of Templates: time 0.3926/1.217, allocations: 12.61 MB / 0.5005 GB, free: 105.8 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