Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007697/0.0007733, allocations: 105.2 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000854/0.000854, allocations: 198.5 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002228/0.0002229, allocations: 4 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.0908, allocations: 51.53 MB / 358.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003414/0.09426, allocations: 2.987 MB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.0958, allocations: 0.8846 MB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.09613, allocations: 4 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.09635, allocations: 51.55 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.09668, allocations: 103.2 kB / 362.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.09704, allocations: 111.8 kB / 362.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.09758, allocations: 481.9 kB / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.09787, allocations: 152.3 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.09817, allocations: 163.3 kB / 363.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.09845, allocations: 179.1 kB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.09851, allocations: 20 kB / 363.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.09861, allocations: 28 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.09869, allocations: 71.67 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.09881, allocations: 109.5 kB / 364 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.09919, allocations: 403 kB / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.0992, allocations: 0 / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09921, allocations: 0 / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.09923, allocations: 0 / 364.4 MB, free: 7.895 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001084/0.1003, allocations: 0.6676 MB / 365 MB, free: 7.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1004, allocations: 8.031 kB / 365 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1006, allocations: 79.41 kB / 365.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.1011, allocations: 339.1 kB / 365.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1011, allocations: 29 kB / 365.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.1012, allocations: 43.95 kB / 365.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1018, allocations: 383.9 kB / 365.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1019, allocations: 11.91 kB / 365.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.1019, allocations: 16 kB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1019, allocations: 8 kB / 365.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.1024, allocations: 263.8 kB / 366.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1046, allocations: 1.527 MB / 367.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.105, allocations: 238.1 kB / 367.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1054, allocations: 176.8 kB / 368.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1054, allocations: 4.234 kB / 368.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.1059, allocations: 233.9 kB / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.1059, allocations: 3.938 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001456/0.1073, allocations: 0.6082 MB / 369 MB, free: 3.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.1074, allocations: 106.8 kB / 369.1 MB, free: 2.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1077, allocations: 304.5 kB / 369.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1078, allocations: 37.73 kB / 369.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.1079, allocations: 224.3 kB / 369.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.108, allocations: 90.66 kB / 369.7 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.108, allocations: 12 kB / 369.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1082, allocations: 342.8 kB / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1083, allocations: 92.7 kB / 370.1 MB, free: 1.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.1086, allocations: 229.5 kB / 370.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1089, allocations: 127.3 kB / 370.5 MB, free: 1.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1089, allocations: 0 / 370.5 MB, free: 1.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007229/0.1096, allocations: 421.4 kB / 370.9 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1096, allocations: 4 kB / 370.9 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1096, allocations: 8.484 kB / 370.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.11, allocations: 88.75 kB / 371 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1102, allocations: 59.91 kB / 371.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/0.2717, allocations: 1.788 MB / 372.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.2721, allocations: 44.38 kB / 372.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2721, allocations: 16.19 kB / 372.9 MB, free: 18.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0002616/0.2724, allocations: 172.1 kB / 373.1 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.2725, allocations: 40.59 kB / 373.1 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.2726, allocations: 39.61 kB / 373.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2726, allocations: 2.719 kB / 373.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2726, allocations: 1.312 kB / 373.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2726, allocations: 2.359 kB / 373.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.2733, allocations: 0.575 MB / 373.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2733, allocations: 1.156 kB / 373.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2735, allocations: 38.08 kB / 373.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.2737, allocations: 79.92 kB / 373.8 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.2738, allocations: 8.156 kB / 373.9 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.2753, allocations: 1.789 MB / 375.6 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2753, allocations: 8.484 kB / 375.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.2762, allocations: 0.51 MB / 376.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2764, allocations: 134.7 kB / 376.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.2764, allocations: 12.38 kB / 376.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.2766, allocations: 16 kB / 376.3 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.2767, allocations: 28.75 kB / 376.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.2767, allocations: 14.16 kB / 376.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2769, allocations: 218.8 kB / 376.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 0 / 376.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.2774, allocations: 110.8 kB / 376.7 MB, free: 16.27 MB / 302.1 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * 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.0001342/0.2776, allocations: 113.1 kB / 376.8 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.2783, allocations: 429.3 kB / 377.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2783, allocations: 1.25 kB / 377.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.2787, allocations: 286.5 kB / 377.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2791, allocations: 60.44 kB / 377.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2803, allocations: 0.8781 MB / 378.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2805, allocations: 0.8098 MB / 379.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.2807, allocations: 38.47 kB / 379.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.2807, allocations: 25.45 kB / 379.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2808, allocations: 0 / 379.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009665/0.2904, allocations: 4.309 MB / 383.6 MB, free: 14.24 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches