Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 110.6 kB / 17.74 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 185.5 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004596/0.2559, allocations: 3.451 MB / 404.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2573, allocations: 0.8257 MB / 405.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2575, allocations: 4 kB / 405.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.2577, allocations: 71.3 kB / 405.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.258, allocations: 126.8 kB / 405.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2583, allocations: 135.8 kB / 406 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.2588, allocations: 0.5174 MB / 406.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.2591, allocations: 169.8 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.2593, allocations: 195.3 kB / 406.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.2596, allocations: 219 kB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.2597, allocations: 44 kB / 407.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.2597, allocations: 48 kB / 407.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.2598, allocations: 103.6 kB / 407.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.26, allocations: 250.8 kB / 407.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.2605, allocations: 0.515 MB / 408.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2605, allocations: 0 / 408.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2605, allocations: 0 / 408.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2605, allocations: 0 / 408.1 MB, free: 2.227 MB / 318.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.001166/0.2617, allocations: 0.7224 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2617, allocations: 8.031 kB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/0.2618, allocations: 52.31 kB / 408.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.2622, allocations: 352.2 kB / 409.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2623, allocations: 25.38 kB / 409.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.2623, allocations: 40.38 kB / 409.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.263, allocations: 400 kB / 409.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.263, allocations: 7.906 kB / 409.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.2631, allocations: 16 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.2631, allocations: 11.94 kB / 409.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2636, allocations: 255.9 kB / 409.9 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2655, allocations: 1.484 MB / 411.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.2659, allocations: 239.4 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2663, allocations: 173.2 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2663, allocations: 4.234 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.2667, allocations: 234.5 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.2667, allocations: 0 / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001475/0.2682, allocations: 0.5927 MB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.2683, allocations: 106.8 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.2686, allocations: 296.5 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2686, allocations: 37.7 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2688, allocations: 212.3 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.2689, allocations: 102.7 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.269, allocations: 70.06 kB / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2691, allocations: 342.8 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2693, allocations: 92.7 kB / 413.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.2696, allocations: 225.5 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.27, allocations: 326.7 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.27, allocations: 4 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006762/0.2707, allocations: 406 kB / 414.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2707, allocations: 8 kB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2708, allocations: 8.031 kB / 414.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.2711, allocations: 84.75 kB / 414.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2713, allocations: 59.91 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.2732, allocations: 1.994 MB / 417 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.2734, allocations: 43.73 kB / 417 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2735, allocations: 16 kB / 417 MB, free: 8.668 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.0001982/0.2737, allocations: 169.8 kB / 417.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.2737, allocations: 39.56 kB / 417.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.2738, allocations: 39.09 kB / 417.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2738, allocations: 0 / 417.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2738, allocations: 4 kB / 417.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2738, allocations: 3.984 kB / 417.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.2744, allocations: 0.5692 MB / 417.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.2744, allocations: 4 kB / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2746, allocations: 31.97 kB / 417.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.2749, allocations: 80.75 kB / 418 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2749, allocations: 4 kB / 418 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.2766, allocations: 2.002 MB / 420 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2767, allocations: 0 / 420 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.2776, allocations: 498.8 kB / 420.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2777, allocations: 136.6 kB / 420.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.2777, allocations: 8 kB / 420.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2779, allocations: 15.98 kB / 420.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.278, allocations: 19.97 kB / 420.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2781, allocations: 12 kB / 420.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.2783, allocations: 215 kB / 420.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 0 / 420.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000482/0.2788, allocations: 115.7 kB / 421 MB, free: 4.465 MB / 334.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.0001384/0.2789, allocations: 119.2 kB / 421.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007583/0.2797, allocations: 415 kB / 421.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2797, allocations: 0 / 421.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.2801, allocations: 290.4 kB / 421.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2805, allocations: 69.17 kB / 421.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2817, allocations: 0.7374 MB / 422.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.282, allocations: 0.8145 MB / 423.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.2821, allocations: 23.44 kB / 423.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2821, allocations: 0 / 423.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Templates: time 0.007792/0.2899, allocations: 5.96 MB / 429.4 MB, free: 12 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches