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.001618/0.001618, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 200.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.266, allocations: 50.54 MB / 409.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00488/0.271, allocations: 3.475 MB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2729, allocations: 0.9269 MB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.2731, allocations: 11.94 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2733, allocations: 67.3 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2737, allocations: 134.8 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.2741, allocations: 155.7 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006014/0.2747, allocations: 0.5175 MB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.2751, allocations: 181.8 kB / 415.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.2754, allocations: 211.1 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.2757, allocations: 218.9 kB / 415.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.2758, allocations: 48 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2759, allocations: 52 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.276, allocations: 95.69 kB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2762, allocations: 246.7 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.2767, allocations: 0.5343 MB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2767, allocations: 4 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2767, allocations: 0 / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2767, allocations: 0 / 416.8 MB, free: 10.64 MB / 334.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.001237/0.278, allocations: 0.7417 MB / 417.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.278, allocations: 12.03 kB / 417.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.2783, allocations: 72.25 kB / 417.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.2787, allocations: 348.3 kB / 418 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2788, allocations: 33.36 kB / 418 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2789, allocations: 44.38 kB / 418 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.2795, allocations: 388 kB / 418.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.2796, allocations: 0 / 418.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.2796, allocations: 19.98 kB / 418.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.2796, allocations: 12 kB / 418.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.2802, allocations: 263.8 kB / 418.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.2823, allocations: 1.492 MB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.2828, allocations: 246.9 kB / 420.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.2832, allocations: 169.2 kB / 420.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2832, allocations: 240 / 420.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.2836, allocations: 230 kB / 420.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.2836, allocations: 0 / 420.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001521/0.2852, allocations: 0.5887 MB / 421.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.2852, allocations: 110.8 kB / 421.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.2856, allocations: 308.5 kB / 421.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2856, allocations: 41.69 kB / 421.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2858, allocations: 224.3 kB / 422.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.2858, allocations: 94.66 kB / 422.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.286, allocations: 73.97 kB / 422.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2861, allocations: 342.8 kB / 422.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2863, allocations: 92.7 kB / 422.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.2866, allocations: 221.8 kB / 422.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.287, allocations: 328.3 kB / 423.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2871, allocations: 4 kB / 423.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006923/0.2878, allocations: 421.3 kB / 423.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2878, allocations: 10.34 kB / 423.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2878, allocations: 4 kB / 423.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.2881, allocations: 76.81 kB / 423.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2884, allocations: 59.91 kB / 423.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.2903, allocations: 2.014 MB / 425.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.2906, allocations: 27.75 kB / 425.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.2906, allocations: 20 kB / 425.8 MB, free: 1.016 MB / 334.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 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.2908, allocations: 173.6 kB / 426 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.2909, allocations: 35.62 kB / 426 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.291, allocations: 43.89 kB / 426.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.291, allocations: 8.062 kB / 426.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.291, allocations: 0 / 426.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.291, allocations: 3.984 kB / 426.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.2916, allocations: 0.5808 MB / 426.7 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2916, allocations: 0 / 426.7 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.2918, allocations: 35.91 kB / 426.7 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.2921, allocations: 73.05 kB / 426.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.2921, allocations: 12.03 kB / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.294, allocations: 1.986 MB / 428.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.294, allocations: 0 / 428.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.2949, allocations: 0.5027 MB / 429.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2951, allocations: 136.6 kB / 429.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.2951, allocations: 8 kB / 429.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.2953, allocations: 11.98 kB / 429.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.2954, allocations: 23.97 kB / 429.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.2954, allocations: 15.98 kB / 429.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.2957, allocations: 219.1 kB / 429.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2957, allocations: 0 / 429.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.2962, allocations: 119.6 kB / 429.8 MB, free: 12.79 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.2963, allocations: 116.4 kB / 429.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.2971, allocations: 422.7 kB / 430.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2971, allocations: 0 / 430.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.2975, allocations: 283.5 kB / 430.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2978, allocations: 69.12 kB / 430.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2991, allocations: 0.7477 MB / 431.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2994, allocations: 0.8113 MB / 432.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.2995, allocations: 31.42 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2995, allocations: 0 / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.008589/0.3081, allocations: 6.148 MB / 438.4 MB, free: 4.109 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/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