Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009459/0.000946, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.261/1.261, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007771/0.0007771, allocations: 85.44 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003614, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2622, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003181/0.2654, allocations: 2.91 MB / 378 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.267, allocations: 0.8379 MB / 378.8 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.2675, allocations: 5.469 kB / 378.9 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2677, allocations: 49.39 kB / 378.9 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.2681, allocations: 108.8 kB / 379 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.2684, allocations: 96.45 kB / 379.1 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.2689, allocations: 468 kB / 379.6 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2692, allocations: 152.7 kB / 379.7 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2694, allocations: 149.6 kB / 379.9 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2697, allocations: 175.1 kB / 380 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.2697, allocations: 19.91 kB / 380 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.2698, allocations: 19.78 kB / 380.1 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2699, allocations: 68.91 kB / 380.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.27, allocations: 220.6 kB / 380.3 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.2703, allocations: 382.8 kB / 380.7 MB, free: 41.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2704, allocations: 0 / 380.7 MB, free: 41.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2704, allocations: 0.9375 kB / 380.7 MB, free: 41.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2704, allocations: 0 / 380.7 MB, free: 41.18 MB / 298.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.001021/0.2714, allocations: 0.6513 MB / 381.4 MB, free: 40.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2715, allocations: 13.66 kB / 381.4 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.2716, allocations: 53.12 kB / 381.4 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2719, allocations: 331 kB / 381.8 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.2719, allocations: 27.75 kB / 381.8 MB, free: 40.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.272, allocations: 36.53 kB / 381.8 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.2726, allocations: 383.9 kB / 382.2 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2727, allocations: 0 / 382.2 MB, free: 39.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2727, allocations: 20.77 kB / 382.2 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2727, allocations: 12.03 kB / 382.2 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.2732, allocations: 260.6 kB / 382.5 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.275, allocations: 1.482 MB / 384 MB, free: 38.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.2755, allocations: 248.4 kB / 384.2 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.2758, allocations: 166.1 kB / 384.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2758, allocations: 6.562 kB / 384.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.2762, allocations: 238.3 kB / 384.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.2762, allocations: 0 / 384.6 MB, free: 38.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001444/0.2777, allocations: 0.6076 MB / 385.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2777, allocations: 112.2 kB / 385.3 MB, free: 37.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2781, allocations: 290.6 kB / 385.6 MB, free: 37.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2781, allocations: 33.02 kB / 385.6 MB, free: 37.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2782, allocations: 208.9 kB / 385.9 MB, free: 37.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.2783, allocations: 98.52 kB / 385.9 MB, free: 37.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.2783, allocations: 10.28 kB / 386 MB, free: 37.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.2784, allocations: 345.1 kB / 386.3 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2786, allocations: 95.05 kB / 386.4 MB, free: 36.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2789, allocations: 227.2 kB / 386.6 MB, free: 36.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.2794, allocations: 336.4 kB / 386.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.2794, allocations: 1.844 kB / 386.9 MB, free: 36.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006611/0.28, allocations: 416.3 kB / 387.3 MB, free: 36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2801, allocations: 11.28 kB / 387.4 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2801, allocations: 4 kB / 387.4 MB, free: 35.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.2804, allocations: 97.05 kB / 387.5 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2806, allocations: 59.84 kB / 387.5 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.282, allocations: 1.799 MB / 389.3 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.2822, allocations: 35.69 kB / 389.3 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2822, allocations: 20 kB / 389.4 MB, free: 33.84 MB / 298.7 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,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 () * 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.0001486/0.2824, allocations: 182.7 kB / 389.5 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.2824, allocations: 31.62 kB / 389.6 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.2825, allocations: 43.03 kB / 389.6 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2825, allocations: 4 kB / 389.6 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2825, allocations: 0 / 389.6 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2825, allocations: 4 kB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.283, allocations: 0.5614 MB / 390.2 MB, free: 32.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2831, allocations: 4.031 kB / 390.2 MB, free: 32.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2832, allocations: 31.92 kB / 390.2 MB, free: 32.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.2834, allocations: 76.84 kB / 390.3 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2835, allocations: 11.98 kB / 390.3 MB, free: 32.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.2848, allocations: 1.8 MB / 392.1 MB, free: 30.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2848, allocations: 8.094 kB / 392.1 MB, free: 30.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.2855, allocations: 0.491 MB / 392.6 MB, free: 30.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2856, allocations: 128.7 kB / 392.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.2857, allocations: 11.98 kB / 392.7 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2859, allocations: 15.98 kB / 392.8 MB, free: 30.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.2859, allocations: 23.97 kB / 392.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.286, allocations: 12 kB / 392.8 MB, free: 30.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.2861, allocations: 211.1 kB / 393 MB, free: 29.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2861, allocations: 3.938 kB / 393 MB, free: 29.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000431/0.2866, allocations: 111.7 kB / 393.1 MB, free: 29.85 MB / 298.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) * 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.000122/0.2867, allocations: 112.9 kB / 393.2 MB, free: 29.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.2874, allocations: 426.3 kB / 393.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2874, allocations: 0 / 393.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.2878, allocations: 291.5 kB / 393.9 MB, free: 29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2881, allocations: 61.22 kB / 394 MB, free: 28.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2893, allocations: 0.892 MB / 394.9 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2895, allocations: 0.8106 MB / 395.7 MB, free: 27.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.2896, allocations: 31.42 kB / 395.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2896, allocations: 0 / 395.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of Templates: time 0.007635/0.2973, allocations: 5.807 MB / 401.5 MB, free: 21.35 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches